Custom Attributes Properties is not displayed
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2006 06:46 AM
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.
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.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2006 07:09 AM
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="my
ublishedDate" />
<show-association name="my:signOff" />
<show-property name="my:authorisedBy" />
<show-child-association name="my
rocessSteps" />
</property-sheet>
</config>
Restarted alfresco,
Now the properties of sop are displayed in the web client …cool huh??
Thanks
Jay.
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="my

<show-association name="my:signOff" />
<show-property name="my:authorisedBy" />
<show-child-association name="my

</property-sheet>
</config>
Restarted alfresco,
Now the properties of sop are displayed in the web client …cool huh??
Thanks
Jay.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2006 05:04 PM
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!
The config for integrating the exampleModel is already done for you, may save you some time!
