cancel
Showing results for 
Search instead for 
Did you mean: 

display-label-id='my_label'<-- where is the properties file

dmralfing
Champ in-the-making
Champ in-the-making
I´ve configured a web-client-config.properties that works OK, but I don´t know how can I configure the properties file where I put the labels mapping.
I have for example:
My web-client-config.properties is allocated in /tomcat/shared/classes/alfresco/extension. If I write in a property  this: display-label-id="my_label"….what is the properties file where I have to put the label??. I need to see the label mapped in Alfresco Share, somebody knows what can I do??
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
The web-client-config-custom.xml file is for Alfresco Explorer, not for Share. The properties identified by display-label-id go in webclient.properties.

If you also want to configure Share, that form configuration lives in share-config-custom.xml. You can config a Spring bean to load message bundles for Share, like this:
   <!– Add Someco messages –>
   <bean id="someco.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent">
      <property name="resourceBundles">
         <list>
            <value>alfresco.web-extension.messages.scModel</value>
         </list>
      </property>
   </bean>

In this example, your properties would go in $TOMCAT_HOME/webapps/share/WEB-INF/classes/alfresco/web-extension/messages/scModel.properties.

There is a tutorial on ecmarchitect.com that shows a custom content types tutorial that configures a custom model for both Alfresco Explorer and Alfresco Share.

Jeff