Added by Guy Cardwell 662 days ago
I added custom fields to the basic-search-form in share-config-custom.xml
<show id="nn:newfield" force="true" />
the custom field appears in the search panel but with the text : nn:newfield
how can I set a proper label for the field?
Hi Guy,
Custom fields are supposed to belong to an additional model you've already defined in alfresco web app, somewhere under alfresco\WEB-INF\classes\alfresco\module (or tomcat\shared\classes\alfresco\extension).
If you did so you should have already defined labels of your additional fields (custom fields) in a properties file.
Take a look at this link, it will help you in defining a custom model: http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Step_by_Step_Model_Definition
I hope this answers to your question.
Best Regards,