Difference between revisions of "HowTo:Create a new MetaClassScope"
m (moved Create a new MetaClassScope to Create a new MetaClassScope) |
|||
(22 intermediate revisions by 2 users not shown) | |||
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 scope object of the according [[APPLICATION|Application]]. Use the {{Rel|SYSREL_CONTEXTSCOPE}} relation to add individual objects to the list of scopes.<br/>[[File:UI_MetaClassScope_03.PNG|330 px|border|alt=MetaClassScope|MetaClassScope]] | + | # 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. {{Version/ServerSince|2.6.2}} <br/> [[File:InheritFromAbstractScope2.PNG|400px]] |
+ | # The object needs to be added to the list of scope object of the according [[APPLICATION|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 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_MetaClassScope_04.PNG|660 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_MetaClassScope_04.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 {{RelData|ACMMETAPROPERTYRELDATA|relational data}} if needed.<br>[[File:UI_MetaClassScope_05.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 {{RelData|ACMMETAPROPERTYRELDATA|relational data}} 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 | # Save the changes with {{key press|Ctrl|S}} or the save command | ||
− | + | {{Hint|Setting the Compare Value property to '''Compare Value''' is necessary to refresh the value of a of a calculated property on the mobile device.}} | |
{{Attention|The properties of the MetaClassScope and published MetaProperties can only be changed in [[UBIK_Studio_Basics#Admin_mode|Admin mode]]}} | {{Attention|The properties of the MetaClassScope and published MetaProperties can only be changed in [[UBIK_Studio_Basics#Admin_mode|Admin mode]]}} | ||
Line 19: | Line 20: | ||
* [[HowTo:Create a new QueryScope]] | * [[HowTo:Create a new QueryScope]] | ||
− | [[Category:How-To]] | + | [[Category:How-To|Create a new MetaClassScope]] |
− | [[Category: | + | [[Category:Publishing|Create a new MetaClassScope]] |
− | [[Category: | + | [[Category:Studio|Create a new MetaClassScope]] |
Latest revision as of 10:52, 15 January 2018
A MetaClassScope is used to specify the list of published properties of a particular MetaClass and granted permissions for this object type.
- Navigate to the MetaClass METACLASSSCOPE in the Class Browser
- Create a new instance using the Bulk Editor
- It is required to assign a target type of the MetaClassScope to the MetaClass attribute either by
- dragging and dropping a MetaClass object onto the cell
- selecting the desired MetaClass 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 parent scope must be of type AbstractScope.
- The object needs to be added to the list of scope object 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 relational data if needed.
- Save the changes with Ctrl+S or the save command
Setting the Compare Value property to Compare Value is necessary to refresh the value of a of a calculated property on the mobile device. |
The properties of the MetaClassScope and published MetaProperties can only be changed in Admin mode |