04-18-2012 08:15 AM
<type name="foo:document">
<title>Foo document</title>
<parent>cm:content</parent>
<properties>
<property name="foo:apbNr">
<description>Foo Number</description>
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
<constraints>
<constraint ref="foo:string-length-132"/>
</constraints>
</property>
</properties>
</type>
04-19-2012 10:27 AM
04-22-2012 11:49 AM
Have you tried adding enforced="true" to your mandatory element in the type definition?I've now added enforced="true" to all the mandatory properties. The result of this is - as expected - that I am no longer able to add test content of that document type via Alfresco Explorer interface. I haven't customized explorer forms to show custom properties.
04-24-2012 05:09 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.