The [[Documents_(UBIK_Android)#Redlining|redlining]] feature creates a copy of the [[DOCUMENT|document]] and opens it for editing with any installed 3rd party application. Enabling redlining for certain document objects requires that the following criteria are met:
# A [[FILEDOCUMENT|file document]] [[MetaClass]] is prepared for Redlining
* Set the [[SYSCLS_REDLINEDFILE]] classification on a [[MetaClass]] for [[FILEDOCUMENT|file documents]] using the {{CD}} control (the MetaClass must derive from [[FILEDOCUMENT]])
<br/>[[File:UI_HowTo_Prepare_a_Document_for_Redlining_01.png|330 px|border|alt=Redlined document|Redlined document classification]]
# File documents can be created as child objects of other file documents
# Create a new relation between the MetaClasse of the original file document ant the redlined file document
<br/>[[File:UI_HowTo_Prepare_a_Document_for_Redlining_02.png|330 px|border|alt=Create relation|Create relation]]
# [[:Category:Views|View items]] for the (redlined) file document exist (an existing view item for file documents might be sufficient)
# [[CONTEXTSCOPE|Context scopes]] for the redlined file document exist and such file [[Documents_(UBIK_Android)#Creating_Documents|document can be created]] on the {{UBIKCLIENT|mobile client}} (an existing context scope for file documents might be sufficient)
In more detail it is required to:
# Set the [[SYSCLS_REDLINEDFILE]] classification on a [[MetaClass]] for [[FILEDOCUMENT|file documents]] using the {{CD}} control (the MetaClass must derive from [[FILEDOCUMENT]])
<br/>[[File:UI_HowTo_Prepare_a_Document_for_Redlining_01.png|330 px|border|alt=Redlined document|Redlined document classification]]
# Create a new relation between the MetaClasse of the original file document ant the redlined file document
<br/>[[File:UI_HowTo_Prepare_a_Document_for_Redlining_02.png|330 px|border|alt=Create relation|Create relation]]
#
# 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]]# 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]].