How to display content model in Alfresco Share

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2010 10:55 AM
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
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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-26-2010 11:43 AM
Create content uses the model-type form, rather than the node-type.
Thanks,
Mike
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2010 02:11 AM
Create content uses the model-type form, rather than the node-type.
Thanks,
Mike
Hello Mike,
Thanks for your suggestion.
I have tested it adding to model-type as well.It's not working.Is there anything else that I need to configure it?Please help me(I am one week old to Alfresco).
Thanks,Thiru
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2010 03:39 AM
Did you also add a new config section for your custom type? The one you quoted is for "cm:content".
Thanks,
Mike
Thanks,
Mike
