cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Attributes Properties is not displayed

jayagopalan
Champ in-the-making
Champ in-the-making
HI all,
           I have created a sample content which is of type sop,which is available in the exampleModel.xml.


The attributes of type sop is not displayed in the web client.

How to enable the display of attributes in view details.

Thanks in advance.

Jay.
2 REPLIES 2

jayagopalan
Champ in-the-making
Champ in-the-making
oops i didn't notice the Using Custom Model Section in Dictionary guide.

Added the following config in,
web-client-properties-config.xml

  <config evaluator="node-type" condition="my:sop">
      <property-sheet>
         <show-property name="name" showInEditMode="false" />
         <show-property name="mimetype" displayLabelId="mimetype"
                        converter="org.alfresco.faces.MimeTypeConverter"
                        showInEditMode="false" />
         <show-property name="title" showInEditMode="false" />
         <show-property name="description" showInEditMode="false" />
         <show-property name="size" displayLabelId="size"
                        converter="org.alfresco.faces.ByteSizeConverter"
                        showInEditMode="false" />
         <show-property name="mySmiley TongueublishedDate" />
         <show-association name="my:signOff" />
         <show-property name="my:authorisedBy" />
         <show-child-association name="mySmiley TonguerocessSteps" />
      </property-sheet>
   </config>

Restarted alfresco,

Now the properties of sop are displayed in the web client …cool huh??

Thanks

Jay.

gavinc
Champ in-the-making
Champ in-the-making
Just to let you know, if you are using one of our bundles there should be a web-client-config-custom.xml.sample file in /tomcat/shared/classes/alfresco/extension. Remove the .sample from the end of the file name and this will get loaded automatically.

The config for integrating the exampleModel is already done for you, may save you some time!