Home Forums Development Adding default favorite filters

Viewing 2 reply threads
  • Author
    Posts
    • #22833
      Max WidmaierMax Widmaier
      Participant

      We are trying to get some filter subject areas be favorited by default. I am unsure as to how this is done since there seems to be no option in the .filter file editor in NexJ Studio. Specifically, what we are trying to do is make the ActivityPlan subject area a favorite filter for users by default.

      Thank you for the assistance!

      0
    • #22849
      Trevor BallTrevor Ball
      Participant

      Hi Max,

      Favorite filters are specified in the filter:SeedFavoriteFilter metaclass. I believe what you’ll want to do is add your filter(s) to the getFavoriteFilters action of the initializePersistence event, and add a Load upgrade step to force the favorites to be reseeded.

      If you have further questions, please let us know.

      0
    • #22864
      Max WidmaierMax Widmaier
      Participant

      Thank you, that worked perfectly.

      0
Viewing 2 reply threads
  • You must be logged in to reply to this topic.