01-05-2011 09:10 AM
<toolbar>
<createContent>
<content mimetype="text/plain" icon="plain-text" label="menu.create-content.text" />
<content mimetype="text/html" icon="html" label="menu.create-content.html" />
<content mimetype="text/xml" icon="xml" label="menu.create-content.xml" />
<content mimetype="xml/custom1" icon="xml" label="menu.create-content.custom1" formid="custom1-common-form"/>
</createContent>
<toolbar>
<createContent>
<content mimetype="text/plain" icon="plain-text" label="menu.create-content.text" />
<content mimetype="text/html" icon="html" label="menu.create-content.html" />
<content mimetype="text/xml" icon="xml" label="menu.create-content.xml" />
<content mimetype="xml/custom2" icon="xml" label="menu.create-content.custom2" formid="custom2-common-form"/>
</createContent>
<toolbar>
<createContent>
<content mimetype="text/plain" icon="plain-text" label="menu.create-content.text" />
<content mimetype="text/html" icon="html" label="menu.create-content.html" />
<content mimetype="text/xml" icon="xml" label="menu.create-content.xml" />
<content mimetype="xml/custom1" icon="xml" label="menu.create-content.custom1" formid="custom1-common-form"/>
<content mimetype="xml/custom2" icon="xml" label="menu.create-content.custom2" formid="custom2-common-form"/>
</createContent>
(thus, those two modules will have to be installed together to work)<web-extension>
<site-webscript>
<org>
<alfresco>
<components>
<documentlibrary>
<toolbar.get.config.xml>
<addChildTo xpath="/toolbar/createContent">
<content mimetype="xml/custom1" icon="xml" label="menu.create-content.custom1" formid="custom1-common-form"/>
</addChildTo>
<removeNode xpath="/toolbar/createContent/content[@mimetype="text/html"]"/>
<modifyNode>… etc.
</toolbar.get.config.xml>
</documentlibrary>
</components>
</alfresco>
</org>
</site-webscript>
01-05-2011 10:59 AM
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.