Last modified on 25 October 2017, at 11:29

Create a new QueryScope

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. 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 parent scope must be of type AbstractScope
    InheritFromAbstractScope2.PNG
  7. The object needs to be added to the list of scope objects of the according Application. Use the IC RELATION.png SYSREL CONTEXTSCOPE relation to add individual objects to the list of scopes.
    MetaClassScope
  8. Save the changes with Ctrl+S or the save command
  9. Add properties to the list of published MetaProperties to display them on the mobile client available as search criteria.
    QueryScope.
  10. Save the changes with Ctrl+S or the save command
IC Hint square.pngWithout relating an according query item (identified by the MetaPropertys name) the system uses equality (=) as filter operator.

See also