06-30-2009 08:11 AM
<config evaluator="node-type" condition="my:new_property_type">
<property-sheet>
<show-property name="my:property"/>
</property-sheet>
</config>
<config evaluator="node-type" condition="my:new_property_type">
<forms>
<form>
<field-visibility>
<show id="my:property"/>
</field-visibility>
</form>
</forms>
</config>
08-03-2009 11:49 AM
components/form?itemKind=type&itemId=my:new_property_type&destination={destination}&mode=create&submitType=JSON&htmlid=${args.htmlid}
Where: destination is the nodeRef where you want your new type created, and htmlid is a unique HTML DOM Id for the form to sit in./share/components/form/form.js
and
/share/components/form/form.css
…as well as calling some client-side initialisation.04-17-2014 05:29 AM
05-05-2010 05:41 PM
05-10-2010 08:06 AM
<content mimetype="text/plain" icon="plain-text" label="menu.create-content.my-custom-type" formid="my-custom-form" />
<config evaluator="model-type" condition="cm:content">
<forms>
<form id="my-custom-form">
<field-visibility>
<show id="cm:name" />
<show id="cm:title" force="true" />
…
<show id="my:customField" force="true" />
…
etc.
07-08-2010 11:59 PM
09-01-2010 10:07 AM
<content mimetype="text/plain" icon="plain-text" label="menu.create-content.my-custom-type" formid="my-custom-form-id" />
<config evaluator="model-type" condition="my:customtype">
<forms>
<form id="my-custom-form-id">
<field-visibility>
<show id="cm:name" />
<show id="cm:title" force="true" />
<show id="my:customField" force="true" />
</field-visibility>
<appearance>
<field id="cm:name"/>
<field id="cm:title"/>
<field id="my:customField" label="My custom field"/>
</appearance>
</form>
</forms>
</config>
08-31-2012 02:34 PM
04-17-2014 06:40 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.