Jump to: navigation, search

Difference between revisions of "HowTo:Create a new QueryScope"


(Using a Scan Query)
Line 9: Line 9:
 
# Save the changes with {{key press|Ctrl|S}} or the save command
 
# Save the changes with {{key press|Ctrl|S}} or the save command
 
# 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.<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 [[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 characteristics of the scope object can now be changed. If the user should be able to create a new object of this type on the mobile device check '''Creation enabled''' of the relationional data.<br>[[File:UI_QueryScope_03.PNG|660 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
# Add properties to the list of published MetaProperties to display them on the mobile client available as search criteria.<br>[[File:UI_QueryScope_04.PNG|660 px|border|alt=QueryScope|QueryScope]]
+
# Add properties to the list of published MetaProperties to display them on the mobile client available as search criteria.<br>[[File:UI_QueryScope_04.PNG|660 px|border|alt=QueryScope|QueryScope]]. Without relating an according query item (identified by the MetaProperty's name) the system uses equality (=) as filter operator.
 
# 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:48, 24 March 2015

A QueryScope is used to specify the query object and the list of published properties available as search criteria on the mobile client.

  1. Navigate to the MetaClass QUERYSCOPE in the Class Browser
    QueryScope
  2. Create a new instance using the Bulk Editor
    QueryScope
  3. 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
  4. It is recommended to set at least name and description
  5. Save the changes with Ctrl+S or the save command
  6. 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.
    MetaClassScope
  7. Save the changes with Ctrl+S or the save command
  8. Add properties to the list of published MetaProperties to display them on the mobile client available as search criteria.
    QueryScope. Without relating an according query item (identified by the MetaProperty's name) the system uses equality (=) as filter operator.
  9. Save the changes with Ctrl+S or the save command

See also