<config evaluator="string-compare" condition="DocumentLibrary">
<aspects>
<visible>
<aspect name="cm:referencing" />
</visible>
</aspects>
</config>
Elle permet de définir que l'aspect cm:referencing doit être disponible dans la liste des aspects applicables aux noeuds.
<config evaluator="node-type" condition="cm:content">
<forms>
<form>
<field-visibility>
<!– cm:referencing aspect –>
<show id="cm:references" />
</field-visibility>
<appearance>
<field id="cm:references">
<control>
<control-param name="compactMode">true</control-param>
<control-param name="showTargetLink">true</control-param>
<control-param name="startLocation">{siteshome}</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
Cette section permet d'afficher l'association dans la fiche de propriétés et de mettre en place un lien sur le nom du noeud lié (cf. <control-param name="showTargetLink">true</control-param>).aspect.cm_referencing=References
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Override WebScript Messages - add slingshot application messages –>
<bean id="webscripts.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>webscripts.messages.webscripts</value>
<value>alfresco.messages.common</value>
<value>alfresco.messages.slingshot</value>
<value>alfresco.web-extension.messages.references</value>
</list>
</property>
</bean>
</beans>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.