04-04-2012 03:51 PM
05-02-2012 07:54 PM
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary">
<!–
Used by the "Manage Aspects" action
For custom aspects, remember to also add the relevant i18n string(s)
cm_myaspect=My Aspect
–>
<aspects>
<!– Aspects that a user can see –>
<visible>
<aspect name="sc:webable" />
<aspect name="sc:productRelated" />
<aspect name="cm:replaceable" />
</visible>
<!– Aspects that a user can add. Same as "visible" if left empty –>
<addable>
</addable>
<!– Aspects that a user can remove. Same as "visible" if left empty –>
<removeable>
</removeable>
</aspects>
<!–
Used by the "Change Type" action
Define valid subtypes using the following example:
<type name="cm:content">
<subtype name="cm:mysubtype" />
</type>
Remember to also add the relevant i18n string(s):
cm_mysubtype=My SubType
–>
<types>
<type name="cm:content">
<subtype name="sc:doc" />
<subtype name="sc:whitepaper" />
</type>
<type name="sc:doc">
<subtype name="sc:whitepaper" />
</type>
</types>
<!– Custom Indicators –>
<indicators>
<indicator id="someco-website" index="10">
<evaluator>someco.evaluator.doclib.action.isActive</evaluator>
</indicator>
</indicators>
</config>
<bean id="someco.evaluator.doclib.action.isActive" parent="evaluator.doclib.action.value">
<property name="accessor" value="node.properties.sc:isActive" />
<property name="comparator">
<bean class="org.alfresco.web.evaluator.StringEqualsComparator">
<property name="value" value="true" />
</bean>
</property>
</bean>
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.