As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<!– 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>