Jump to: navigation, search

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


(See also)
(No difference)

Revision as of 15:10, 27 January 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. 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.
    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.png The according Query object, referenced by the QueryScope, must be added to the list of intrastructure objects via the Infrastructure relation!
IC Attention.pngThe properties of the MetaClassScope and published MetaProperties can only be changed in Admin mode

See also