Trace: • Globales Meta Daten Caching
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
visionx:userprofiles_filters [2020/04/03 13:05] admin |
visionx:userprofiles_filters [2020/06/12 14:14] cduncan |
||
---|---|---|---|
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 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|}} | ||
- | 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/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: | + | 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|}} | ||
Line 28: | Line 30: | ||
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 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 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. |