12-21-2009 06:33 PM
<!– show related documents association on whitepaper property sheet –>
<config evaluator="node-type" condition="sc:whitepaper">
<property-sheet>
<show-association name="sc:relatedDocuments"/>
</property-sheet>
</config>
<!– show related documents association on doc property sheet –>
<config evaluator="node-type" condition="sc:doc">
<property-sheet>
<show-association name="sc:relatedDocuments"/>
</property-sheet>
</config>
<alfresco-config>
<config>
<client>
<!– the login page the client will use –>
<login-page>/jsp/extension/login.jsp</login-page>
</client>
</config>
<!– add webable aspect properties to property sheet –>
<config evaluator="aspect-name" condition="sc:webable">
<property-sheet>
<show-property name="sc:published" display-label-id="published" />
<show-property name="sc:isActive" display-label-id="isActive" read-only="true" />
</property-sheet>
</config>
<!– add client related aspect properties to property sheet –>
<config evaluator="aspect-name" condition="sc:clientRelated">
<property-sheet>
<show-property name="sc:clientName" display-label-id="client" />
<show-property name="sc:projectName" display-label-id="project" />
</property-sheet>
</config>
<!– show related documents association on doc property sheet –>
<config evaluator="node-type" condition="sc:doc">
<property-sheet>
<show-association name="sc:relatedDocuments" display-label-id="Related Documents"/>
</property-sheet>
</config>
<!– show campaign on marketingDoc property sheet –>
<config evaluator="node-type" condition="sc:marketingDoc">
<property-sheet>
<show-property name="sc:campaign" display-label-id="campaign" />
</property-sheet>
</config>
<!– show related documents association on whitepaper property sheet –>
<config evaluator="node-type" condition="sc:whitepaper">
<property-sheet>
<show-association name="sc:relatedDocuments" display-label-id="Related Documents"/>
</property-sheet>
</config>
<!– add someco types to add content list –>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="sc:doc" />
<type name="sc:whitepaper" />
<type name="sc:legalDoc" />
<type name="sc:marketingDoc" />
<type name="sc:hrDoc" />
<type name="sc:salesDoc" />
<type name="sc:opsDoc" />
</content-types>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<!– The list of aspects to show in the add/remove features action –>
<!– and the has-aspect condition –>
<aspects>
<aspect name="sc:webable"/>
<aspect name="sc:clientRelated"/>
</aspects>
<!– The list of types shown in the is-subtype condition –>
<subtypes>
<type name="sc:doc" />
<type name="sc:whitepaper" />
<type name="sc:legalDoc" />
<type name="sc:marketingDoc" />
<type name="sc:hrDoc" />
<type name="sc:salesDoc" />
<type name="sc:opsDoc" />
</subtypes>
<!– The list of content and/or folder types shown in the specialise-type action –>
<specialise-types>
<type name="sc:doc" />
<type name="sc:whitepaper" />
<type name="sc:legalDoc" />
<type name="sc:marketingDoc" />
<type name="sc:hrDoc" />
<type name="sc:salesDoc" />
<type name="sc:opsDoc" />
</specialise-types>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="sc:doc" />
<type name="sc:whitepaper" />
<type name="sc:legalDoc" />
<type name="sc:marketingDoc" />
<type name="sc:hrDoc" />
<type name="sc:salesDoc" />
<type name="sc:opsDoc" />
</content-types>
<custom-properties>
<meta-data aspect="sc:webable" property="sc:published" display-label-id="published" />
<meta-data aspect="sc:webable" property="sc:isActive" display-label-id="isActive" />
<meta-data aspect="sc:clientRelated" property="sc:clientName" display-label-id="client" />
<meta-data aspect="sc:clientRelated" property="sc:projectName" display-label-id="project" />
</custom-properties>
</advanced-search>
</config>
</alfresco-config>
01-21-2010 04:22 PM
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.