Difference between revisions of "HowTo:Make a Document editable on Mobile Client"
Line 4: | Line 4: | ||
# [[HowTo:Create_a_new_MetaProperty|Create]] a [[MetaProperty]] of type [[MetaProperty#Boolean|Boolean]] with the name '''EDIT_FILE_ALLOWED''' | # [[HowTo:Create_a_new_MetaProperty|Create]] a [[MetaProperty]] of type [[MetaProperty#Boolean|Boolean]] with the name '''EDIT_FILE_ALLOWED''' | ||
# Navigate to the [[MetaClass]] [[SYSCLS_EDITABLEDOCUMENT]] in the ''[[Class Browser]]''<br/>[[File:UI_Document_editable_01.png|330 px|border|alt=Property editable|Property editable]] | # Navigate to the [[MetaClass]] [[SYSCLS_EDITABLEDOCUMENT]] in the ''[[Class Browser]]''<br/>[[File:UI_Document_editable_01.png|330 px|border|alt=Property editable|Property editable]] | ||
− | # | + | # Connect the document class to the [[RelationEditor]] and assign the ''SYSCLS_EDITABLEDOCUMENT'' classification via drag and drop<br/>[[File:UI_Document_editable_02.png|330 px|border|alt=Property editable|Property editable]] |
# Now all Instances of the created MetaClass can be set either editable or not by checking '''EDIT_FILE_ALLOWED'''.<br/>[[File:UI_Document_editable_03.png]] | # Now all Instances of the created MetaClass can be set either editable or not by checking '''EDIT_FILE_ALLOWED'''.<br/>[[File:UI_Document_editable_03.png]] | ||
# To make the document available, see the instructions on creating and editing [[View|Views]]. | # To make the document available, see the instructions on creating and editing [[View|Views]]. |
Revision as of 02:46, 30 March 2015
A MetaProperty must be made editable,not only to get them displayed on the client but also be able to edit.
- Create a new a Document MetaClass derived from the System MetaClass FILEDOCUMENT
- Create a MetaProperty of type Boolean with the name EDIT_FILE_ALLOWED
- Navigate to the MetaClass SYSCLS EDITABLEDOCUMENT in the Class Browser
- Connect the document class to the RelationEditor and assign the SYSCLS_EDITABLEDOCUMENT classification via drag and drop
- Now all Instances of the created MetaClass can be set either editable or not by checking EDIT_FILE_ALLOWED.
- To make the document available, see the instructions on creating and editing Views.