AnsweredAssumed Answered

How to display content model in Alfresco Share

Question asked by thirunavukkarasu on Oct 26, 2010
Latest reply on Oct 27, 2010 by mikeh
Folks,
I am using ALfresco community edition 3.3 bundled with tomcat.

I have create a new custom content model and trying to display it's metadata in create content page under Document Library in Alfresco Share.

What are the files I need to configure it.

I have added the below code snippet in share-form-config.xml under C:\Alfresco\tomcat\webapps\share\WEB-INF\classes\alfresco directory.

Below is the code snippet:
<config evaluator="node-type" condition="cm:content">
      <forms>
         <!– Default form configuration for the cm:content type –>
         <form>
            <field-visibility>
         <show id="cm:name" force="true"/>
             <show id="alf:name" force="true"/>            </field-visibility>
            <appearance>
          <field id="cm:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl" />
               </field>
         <field id="alf:name">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl" />
               </field>


Please do suggest me the solution..Thanks in Advance

Outcomes