Documentation

Trace:

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
visionx:userprofiles_filters [2020/04/03 13:05]
admin
visionx:userprofiles_filters [2021/10/01 09:43]
admin
Line 2: Line 2:
 ~~Title: User Profiles and Filters~~ ~~Title: User Profiles and Filters~~
  
-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:+=== 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 userand 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|}}
  
-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.+A new button (? icon) will be added to the table. The dialog will show the table name, the number of records/​rowsand 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:+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:
  
 {{:​visionx:​userfilter_web.png?​nolink|}} {{:​visionx:​userfilter_web.png?​nolink|}}
  
-Following ​conditions are available:+The following ​conditions are available:
  
     * contains     * contains
Line 27: Line 29:
     * less or equals     * less or equals
  
-It's possible to add as many conditions as you want and single conditions can be en- or disabled.+It's possible to add as many conditions as you want and single conditions can be enabled ​or disabled. 
 + 
 +The customized filter can also 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, such as: 
 + 
 +<file java> 
 +setDefaultTableInformationDialogClass(IApplication app, Class clazz) 
 +</​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 clazz) 
 +</​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. 
 + 
 +=== Full API documentation === 
 + 
 +[[https://​doc.sibvisions.com/​javadoc/​userfilter/​index.html|User Filter]] \\  
 +[[https://​doc.sibvisions.com/​javadoc/​profiles/​index.html|Profiles]]
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information