Difference between revisions of "HowTo:Create a new QueryScope"
Line 8: | Line 8: | ||
# It is recommended to set at least name and description | # It is recommended to set at least name and description | ||
# Save the changes with {{key press|Ctrl|S}} or the save command | # Save the changes with {{key press|Ctrl|S}} or the save command | ||
− | # Add a parent scope using the inheritance field in the ObjectExplorer of the scope if needed. MetaProperties form the parent scope will now be added to the scope | + | # Add a parent scope using the inheritance field in the ObjectExplorer of the scope if needed. MetaProperties form the parent scope will now be added to the scope<br/> [[File:InheritFromAbstractScope2.PNG|400px]] |
# The object needs to be added to the list of scope objects of the according [[Application]]. Use the {{Rel|SYSREL_CONTEXTSCOPE|SYSREL_CONTEXTSCOPE}} relation to add individual objects to the list of scopes.<br/>[[File:UI_MetaClassScope_03.PNG|330 px|border|alt=MetaClassScope|MetaClassScope]] | # The object needs to be added to the list of scope objects of the according [[Application]]. Use the {{Rel|SYSREL_CONTEXTSCOPE|SYSREL_CONTEXTSCOPE}} relation to add individual objects to the list of scopes.<br/>[[File:UI_MetaClassScope_03.PNG|330 px|border|alt=MetaClassScope|MetaClassScope]] | ||
# Save the changes with {{key press|Ctrl|S}} or the save command | # Save the changes with {{key press|Ctrl|S}} or the save command |
Revision as of 11:22, 25 October 2017
A QueryScope is used to specify the query object and the list of published properties available as search criteria on the mobile client.
- Navigate to the MetaClass QUERYSCOPE in the Class Browser
- Create a new instance using the Bulk Editor
- Assign a query instance of the QueryScope to the QUERY attribute either by
- dragging and dropping a query object onto the cell
- selecting the desired Query from the dialog appearing after double-clicking the cell
- It is recommended to set at least name and description
- Save the changes with Ctrl+S or the save command
- Add a parent scope using the inheritance field in the ObjectExplorer of the scope if needed. MetaProperties form the parent scope will now be added to the scope
- The object needs to be added to the list of scope objects of the according Application. Use the SYSREL CONTEXTSCOPE relation to add individual objects to the list of scopes.
- Save the changes with Ctrl+S or the save command
- Add properties to the list of published MetaProperties to display them on the mobile client available as search criteria.
. - Save the changes with Ctrl+S or the save command
Without relating an according query item (identified by the MetaPropertys name) the system uses equality (=) as filter operator. |