01-13-2014 11:10 AM
<config evaluator="string-compare" condition="DocLibActions">
<actions>
<action id="com.mycompany.customaction"
icon="actionIcon" type="javascript" label="customaction.label.title">
<param name="function">onActionFormDialog</param>
<param name="itemKind">action</param>
<param name="itemId">customAction</param>
<param name="mode">create</param>
<param name="destination">{node.nodeRef}</param>
<param name="successMessage">customaction.action.success</param>
<param name="failureMessage">customaction.action.failure</param>
<evaluator>com.mycompany.customEvaluator</evaluator>
</action>
</actions>
<actionGroups>
<actionGroup id="document-details">
<action index="400" id="com.mycompany.customaction" />
</actionGroup>
</actionGroups>
</config>
<config evaluator="string-compare" condition="customAction">
<forms>
<form>
<field-visibility>
<show id="param1" />
<show id="param2" />
</field-visibility>
<appearance>
<field id="param1" label-id="customaction.field.param1"/>
<field id="param2" label-id="customaction.field.param2"/>
</appearance>
</form>
</forms>
</config>
01-13-2014 12:16 PM
01-13-2014 01:38 PM
01-13-2014 03:33 PM
01-14-2014 08:49 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.