cancel
Showing results for 
Search instead for 
Did you mean: 

web-client-config-custom.xml

mccaultx
Champ in-the-making
Champ in-the-making
I am trying to add 2 additional properties to the detail listing of documents in Alfresco. I'm new to xml  but I've modified the XXModel.xml and the web-client-config-custom.xml  in the extension file, but I can only see the type options when uploading content. None of the additional fields I've added, changed or re modified are displaying in the detail. 

I've dumped my DB several times and restarted Tomcat to clear any cache if there is any. ???

Do I need to modify webclient.properties?  I haven't just because I don't know what I'm doing completely and I'm not grasping the multiple changes needed to add these attributes to the document.

Does anyone have any advise or directions I can go to find further information?  The properties info is a little sparse on info that I've found for customization. I did find something from ecmarchitech.com but I'm a newbe and not all of this makes sence.

Any help or thoughts would be great, Tina
2 REPLIES 2

jbarmash
Champ in-the-making
Champ in-the-making
Did you configure for the custom metadata to be displayed as described here?
  http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata

If you did, and it's not working, it might be helpful to post your config files.

Jean

rliu
Champ in-the-making
Champ in-the-making
Tina,

Your webclient.properties file is loaded as a https://java.sun.com/docs/books/tutorial/i18n/resbundle/concept.html in Alfresco. If there are custom fields and needing an end user description to those fields, you will need to provide the description in the file for the field label to show what you want.

As for adding custom properties, you have to make sure that the custom fields are added to the property sheet. To do this, you will need to add an entry into web-client-config-custom.xml where you should have something similar to this:

If custom properties were defined in an aspect:

<config evaluator="aspect-name" condition="<[i]the aspect name[/i]>">
    <property-sheet>
        <show-property name="<[i]the aspect name[/i]>" display-label-id="<[i]the custom property name[/i]>">
         ….
    </property-sheet>
</config>

Or if the custom properties were defined in the <type>:

<config evaluator="node-type" condition="<[i]the type name[/i]>">
    <property-sheet>
        <show-property name="<[i]the type name[/i]>" display-label-id="<[i]the custom property name[/i]>">
         ….
    </property-sheet>
</config>

Hope that helps. –Rich
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.