AnsweredAssumed Answered

Set initial property values

Question asked by deko Employee on Mar 19, 2012
Latest reply on Mar 19, 2012 by d.evil
As with the current CMIS specification it is not possible to handle default property values in ECM systems, with the OpenWorkdesk release it is possible to workaround a solution for this issue.

:shock: You just have to define your object classes with corresponding property values in owbootstrap.xml like in the followig example:

<CreationInitialValues optionid="">
  <ObjectClass name="D:owd:TestDocument">
    <Property name="D:owd:TestDocument.owd:simpleString">"Hello World"</Property>
   <Property name="P:owtest:Aspect.owtest:aspDate">{today}</Property>

As you can see in this example, it is also possible to work with placeholders which get real values while document/object creation.