09-14-2010 11:16 AM
09-15-2010 06:11 AM
Hi everyone,
I have changed "share-form-config.xml" file to include the metadata of custom type in order to show them while creating the new content in the Share application.
Before doing that, I imposed the business rule on the folder to use my custom type.
But while creating new content through Share application, it does not show metadata of the custom type: it shows up for "cm:content" type.
Please advise me what else configuration do I need to make?
<!–
Used by the "Change Type" action
Define valid subtypes using the following example:–>
<type name="cm:content">
<subtype name="rcd:document" />
</type>
<!– Remember to also add the relevant i18n string(s):
cm_mysubtype=My SubType
–>
<types>
<type name="cm:content">
</type>
<type name="rcd:document">
</type>
<type name="cm:folder">
</type>
</types>
<config evaluator="model-type" condition="rcd:document">
<forms>
<!– Default Create Content form –>
<form>
<field-visibility>
<!–ganesh starts–>
<show id="rcd:theme"/>
<show id="rcd:soustheme"/>
<show id="rcd:zone"/>
<show id="rcd:pays"/>
<show id="rcd:manufacturier"/>
<!–ganesh ends–>
</field-visibility>
<appearance>
<!–ganesh starts–>
<field id="rcd:theme">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="rcd:soustheme">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="rcd:zone">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="rcd:pays">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="rcd:manufacturier">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<!–ganesh ends–>
</appearance>
</form>
</forms>
</config>
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.