Custom Create Content Item
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2013 04:50 AM
Hi,
I need to create a custom item in the Alfresco Share Site create content select-box, I added in share-config-custom.xml file the following configuration:
It works and displays the new custom item in the select-box "Create Content", but I don't know how to display the new item only for the specific site, not in the entire repository document library or in the other sites. It is possible? Thanks
I need to create a custom item in the Alfresco Share Site create content select-box, I added in share-config-custom.xml file the following configuration:
<config evaluator="model-type" condition="DocumentLibrary"> <create-content> <content id="plain-text" mimetype="text/plain" label="BM_News" itemid="bm:news" icon="ax" /> </create-content></config><config evaluator="model-type" condition="bm:news"> <forms> <form> <field-visibility> <!– inherited from cm:content –> <show id="cm:title" force="true" /> <show id="cm:description" force="true" /> <!– specific for bmed:news –> <show id="bm:product" /> </field-visibility> <appearance> <field id="bm:product" label="Abstract"/> <field id="bm:imageLinks" label="ImageLinks"> <control> <control-param name="compactMode">true</control-param> </control> </field> </appearance> </form> </forms> </config>
It works and displays the new custom item in the select-box "Create Content", but I don't know how to display the new item only for the specific site, not in the entire repository document library or in the other sites. It is possible? Thanks
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2013 04:55 AM
Yes this is quite easy if you are running a recent version of Alfresco. You do this by adding the configuration above inside a Surf extensibility module.
Great example <a href="https://code.google.com/p/share-extras/wiki/SampleModules">here</a> and more info <a href="http://blogs.alfresco.com/wp/developer/2012/03/05/share-configuration-extensibility/">here</a>
Do not forget to deploy
Great example <a href="https://code.google.com/p/share-extras/wiki/SampleModules">here</a> and more info <a href="http://blogs.alfresco.com/wp/developer/2012/03/05/share-configuration-extensibility/">here</a>
Do not forget to deploy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2014 02:39 AM
Thanks <a href="http://blogs.alfresco.com/wp/developer/2012/03/05/share-configuration-extensibility/">that</a> worked for me.
I am also wondering if you know how to display subtypes under "create content" menu?
I am also wondering if you know how to display subtypes under "create content" menu?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2014 03:28 AM
Hi ,
I am new for alfresco can any one help me out "how create a customized forms in a created new menu of alfresco 4.2"
here i have added one new filed in a shared menu.if i opend that menu i have to get a form.so can any one help me out how to create a new customized form in alfresco and how to link that form to menu.
please find the below attached page here i added one menu with the name (myItem)in shared menubar.
I am new for alfresco can any one help me out "how create a customized forms in a created new menu of alfresco 4.2"
here i have added one new filed in a shared menu.if i opend that menu i have to get a form.so can any one help me out how to create a new customized form in alfresco and how to link that form to menu.
please find the below attached page here i added one menu with the name (myItem)in shared menubar.
