Jump to: navigation, search

Difference between revisions of "HowTo:Make a Document editable on Mobile Client"


Line 1: Line 1:
 
A [[MetaProperty]] must be made editable,not only to get them displayed on the client but also be able to edit.
 
A [[MetaProperty]] must be made editable,not only to get them displayed on the client but also be able to edit.
  
# [[Create_a_new_MetaClass|Create]] a new a Document [[MetaClass]] derived from the System MetaClass [[FILEDOCUMENT]]
+
# [[HowTo:Create_a_new_MetaClass|Create]] a new a Document [[MetaClass]] derived from the System MetaClass [[FILEDOCUMENT]]
# [[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]]
 
# Open a [[RelationEditor]] for the created Document class, put the ''SYSCLS_EDITABLEDOCUMENT'' via dragging and dropping in the ''[[Relation Editor]]'' and navigate to the ''Classification''<br/>[[File:UI_Document_editable_02.png|330 px|border|alt=Property editable|Property editable]]
 
# Open a [[RelationEditor]] for the created Document class, put the ''SYSCLS_EDITABLEDOCUMENT'' via dragging and dropping in the ''[[Relation Editor]]'' and navigate to the ''Classification''<br/>[[File:UI_Document_editable_02.png|330 px|border|alt=Property editable|Property editable]]
Line 9: Line 9:
  
 
== See also ==
 
== See also ==
* [[Assign a Classification to a MetaClass]]
+
* [[HowTo:Assign a Classification to a MetaClass]]
  
 
[[Category:How-To]]
 
[[Category:How-To]]
 
[[Category:Document]]
 
[[Category:Document]]
 
[[Category:UBIK Client]]
 
[[Category:UBIK Client]]

Revision as of 10:51, 29 January 2015

A MetaProperty must be made editable,not only to get them displayed on the client but also be able to edit.

  1. Create a new a Document MetaClass derived from the System MetaClass FILEDOCUMENT
  2. Create a MetaProperty of type Boolean with the name EDIT_FILE_ALLOWED
  3. Navigate to the MetaClass SYSCLS EDITABLEDOCUMENT in the Class Browser
    Property editable
  4. Open a RelationEditor for the created Document class, put the SYSCLS_EDITABLEDOCUMENT via dragging and dropping in the Relation Editor and navigate to the Classification
    Property editable
  5. Now all Instances of the created MetaClass can be set either editable or not by checking EDIT_FILE_ALLOWED.
    UI Document editable 03.png
  6. To make the document available, see the instructions on creating and editing Views.

See also