Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
visionx:userprofiles_filters [2020/04/03 12:49]
admin created
visionx:userprofiles_filters [2020/05/22 21:56]
admin
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
-~~Title: ​Userprofiles ​and Filters~~+~~Title: ​User Profiles ​and Filters~~
  
-The Userprofile ​AddOn saves your screen layout if you close a screen and restores everything if you open the same screen again. This works per user and global. It's possible to create default screen layouts for every user and a specific user will override this layouts with its own layout. The AddOn also adds a new functionality to your tables:+=== Introduction === 
 + 
 +The User Profile ​AddOn saves your screen layout if you close a screen and restores everything if you open the same screen again. This works per user and global. It's possible to create default screen layouts for every user and a specific user will use its own layout ​based on the global one. The AddOn also adds a new functionality to your tables:
  
 {{:​visionx:​profile_infodialog_web.png?​nolink|}} {{:​visionx:​profile_infodialog_web.png?​nolink|}}
  
-The Filter is a module and is bundled with Userprofiles. It allows the user to create custom filter conditions directly in the screen. Here's how this might look like:+A new button (? icon) will be added to the table. The dialog will show the table name, the number of records/​rows and all available columns. It's possible to hide or show specific columns with this dialog. 
 + 
 +The Filter is a module and is bundled with User profiles. It allows the user to create custom filter conditions directly in the screen. Here's how this might look like:
  
 {{:​visionx:​userfilter_web.png?​nolink|}} {{:​visionx:​userfilter_web.png?​nolink|}}
  
 +Following conditions are available:
 +
 +    * contains
 +    * not contains
 +    * starts with
 +    * not starts with
 +    * equals
 +    * not equals
 +    * between
 +    * not between
 +    * greater
 +    * less
 +    * greater or equals
 +    * less or equals
 +
 +It's possible to add as many conditions as you want and single conditions can be en- or disabled.
 +
 +The customized filter also can be saved and loaded:
 +
 +{{:​visionx:​save_load_filter.png?​nolink|}}
 +
 +Another feature is and/or grouping. Decide which option is combined with and or or. 
 +
 +=== Customizing ===
 +
 +The AddOn is designed to be customizable. The default settings and implementations can be modified.The AddOn contains the class ProfileUtil which offers a lot of useful methods, like:
 +
 +<file java>
 +setDefaultTableInformationDialogClass(IApplication app, Class class)
 +</​file>​
 +
 +This method set the class which should be used to show the table information dialog. It's possible to extend the existing class **TableInformationDialog**.
 +It's also possible to change the table information dialog per Navigation table:
 +
 +<file java>
 +setTableInformationDialogClass(NavigationTable table, Class class)
 +</​file>​
 +It's also possible to hide the table information button:
 +
 +<file java>
 +setDefaultShowTableInformationButton(IApplication app, boolean show)
 +</​file>​
 +
 +Check the available methods of **ProfileUtil** to find out more.
 +
 +Another feature is the definition of available column names in the table information dialog:
  
 +<file java>
 +databook.getRowDefinition().setColumnView(ITableInformationControl.class,​ new ColumnView(new String[] {...}));
 +</​file>​
 +This statement defines a list of column names which will be shown in the table information dialog.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information