05-30-2012 07:11 AM
<bean id="com.evaluator.doclib.action.isMyPreset"
parent ="evaluator.doclib.action.sitePreset">
<property name="presets">
<list>
<value>my-default-site</value>
</list>
</property>
</bean>
and I bound this evaluator to the document-publish action in share-config-custom.xml:
<action id="document-publish" type="javascript" label="actions.document.publish">
<param name="function">onActionPublish</param
<evaluator>com.evaluator.doclib.action.isMyPreset</evaluator>
</action>
Browsing a node within a site with the preset my-default-site the publish action is showed in the document-browser view but is hide in document-details view.06-03-2012 09:34 AM
06-05-2012 03:13 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.