Hello,I read that in the "Working With Custom Content Types" tutorial that a folder can have content."Remember that folders are types too. Like everything else in the model, folders are types which means they can be extended. Content that “contains” other content is common."So I added the content property to my new type al:req in my model:
<type name="al:req">
<title>Requirement</title>
<parent>cm:folder</parent>
<properties>
<property name="al:content">
<type>d:content</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>true</tokenised>
</index>
</property>
Now I am now sure how to use it in share.I modified the file share-config-custom.xml
<config evaluator="node-type" condition="al:req">
<forms>
<form id="doclib-simple-metadata">
<field-visibility>
…
<show id="al:content" force="true" />
…
<appearance>
…
<field id="al:content">
<control>
<control-param name="editorAppearance">explorer</control-param>
<control-param name="forceEditor">true</control-param>
</control>
</field>
…
<form id="doclib-inline-edit">
<field-visibility>
…
<show id="al:content" force="true" />
…
<appearance>
…
<field id="al:content">
<control>
<control-param name="editorAppearance">explorer</control-param>
<control-param name="forceEditor">true</control-param>
</control>
</field>
But when I change the type of a folder to al:req I cannot add any content (other properties are showing in the Edit properties view).Does anyone have an idea if this is possible?Kid regards,Jean-Claude