cancel
Showing results for 
Search instead for 
Did you mean: 

Set initial property values

deko
Star Contributor
Star Contributor
As with the current CMIS specification it is not possible to handle default property values in ECM systems, with the OpenWorkdesk 3.2.0.0 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>
    …
  </ObjectClass>
  …
</CreationInitialValues>

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

d_evil
Champ in-the-making
Champ in-the-making
That's a nice feature, since currently the CMIS 1.0 version does not contain the ability to retrieve the default/predefined values from backend ECM system.

:ugeek: