[Advanced Filter Builder] Storing/saving filters per user

[Advanced Filter Builder] Storing/saving filters per user

  
Forge Component
(25)
Published on 2015-01-08 by João Pêgas
25 votes
Published on 2015-01-08 by João Pêgas
Is there a way to store/save a filter in dtabase and later re-use it ?
Hello Joop,

I did a solution in the past that included saving all filters to the database, it was to save user preferences by screen.
 
1 -  Created two tables, UserPreferences(Id,Name,LastModifiedDate,Screen,Espace), UserPreferencesFilter(Id,NameFilter,Value);
2 -  New action that loads the latest user preference on the preparation, this action will load all the values directly to the session variables associated to the filters in the screen.
 
Let me know if you need more detail,
Hugo Pinheiro