Difference between revisions of "HowTo:Create a new QueryScope"
m |
|||
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 | ||
− | # The object needs to be added to the list of | + | # 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]] | |
− | # | + | |
+ | # Add properties to the list of published MetaProperties to display them on the mobile client and modify their [[METACLASSSCOPE#MetaProperties|characteristics]] if needed.<br>[[File:UI_MetaClassScope_05.PNG|660 px|border|alt=MetaClassScope|MetaClassScope]] | ||
+ | # Save the changes with {{key press|Ctrl|S}} or the save command | ||
# Add the properties to be displayed on the mobile client and edit there characteristics.<br>[[File:UI_QueryScope_04.PNG|660 px|border|alt=MetaClassScope|MetaClassScope]] | # Add the properties to be displayed on the mobile client and edit there characteristics.<br>[[File:UI_QueryScope_04.PNG|660 px|border|alt=MetaClassScope|MetaClassScope]] | ||
# The property '''Creation enabled''' and '''Write enabled''' can only be changed in [[UBIK_Studio_Basics#Admin_mode|Admin mode]]: | # The property '''Creation enabled''' and '''Write enabled''' can only be changed in [[UBIK_Studio_Basics#Admin_mode|Admin mode]]: | ||
#* The current user will be shown in the down bar <br/>[[File:UI_Property_editable_04.PNG|220 px|border|alt=Property editable|Property editable]] | #* The current user will be shown in the down bar <br/>[[File:UI_Property_editable_04.PNG|220 px|border|alt=Property editable|Property editable]] | ||
#* For changing the [[UBIK_Studio_Basics#User_rights|User rights]] click with the right mouse button on the user <br/>[[File:UI_Property_editable_05.PNG|220 px|border|alt=Property editable|Property editable]] | #* For changing the [[UBIK_Studio_Basics#User_rights|User rights]] click with the right mouse button on the user <br/>[[File:UI_Property_editable_05.PNG|220 px|border|alt=Property editable|Property editable]] | ||
+ | |||
# Save the changes with {{key press|Ctrl|S}} or the save command | # Save the changes with {{key press|Ctrl|S}} or the save command | ||
+ | |||
== See also == | == See also == | ||
* [[Make a Property editable on Mobile Client]] | * [[Make a Property editable on Mobile Client]] |
Revision as of 18:24, 11 December 2013
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
- 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.
- 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.
- Add properties to the list of published MetaProperties to display them on the mobile client and modify their characteristics if needed.
- Save the changes with Ctrl+S or the save command
- Add the properties to be displayed on the mobile client and edit there characteristics.
- The property Creation enabled and Write enabled can only be changed in Admin mode:
- The current user will be shown in the down bar
- For changing the User rights click with the right mouse button on the user
- The current user will be shown in the down bar
- Save the changes with Ctrl+S or the save command
See also
QueryScopes are used as a filter, the added properties are the filter criteria. In addition, the matching query must also be hanged in the Infrastructure query relation! |