AnsweredAssumed Answered

Using webclient.properties strings for custom model

Question asked by lnagra on Nov 20, 2006
Latest reply on Nov 21, 2006 by lnagra
Hi,

I've created a custom model with a new content type (PIER) and when creating a new piece of content of type PIER, despite following the instructions on the developer guide wiki, all the custom properties show up as:
Data_Item etc. instead of Data Item

I have carried out the following:

1. Defined a model like the following:



<parent>cm:content</parent>
         <properties>
            <property name="dm:Data_Item" >
               <type>d:text</type>
            </property>


2. Added similar to the following in /alfresco/extension/custom-webclient-config.xml



<config evaluator="node-type" condition="dm:proposal">
      <property-sheet>     
         <show-property name="dm:Data_Item" displayLabelId="Data_Item"/>
      </property-sheet>  
</config>


3. Creating a /alfresco/extension/webclient.properties that contains:


# Added for PIER
Data_Item=Data Item

However, when viewing the creating a piece of PIER content or looking at t PIER content details, the labels are not picked up (and displayed as Data_Item rather than Data Item).

Is there something I have forgotten to do or have done incorrectly? or
Is there something else I can add to help diagnose what is not working?

Many thanks.

Lakh

Outcomes