cancel
Showing results for 
Search instead for 
Did you mean: 

Customize Details view to display custom properties

nys
Champ in-the-making
Champ in-the-making
Hi,

I have created a CustomModel that has Person's Name , State and Lisence Number. I want these to be displayed in the "Details View"screen instead of description, created and modified . Could someone please provide me some inputs on how to proceed.

Thanks
nys
2 REPLIES 2

zaizi
Champ in-the-making
Champ in-the-making
There is detailed information on the Alfresco wiki at http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata on doing just that.

sinus
Champ in-the-making
Champ in-the-making
Sorry for the late reply.
I had the same task to do some days ago.
The way I get the custom property(client) in browse.jsp for the details view:

<a:column id="col19" style="text-align:left" rendered="#{BrowseBean.browseViewMode == 'details' || BrowseBean.browseViewMode == 'icons'}">
      <f:facet name="header">
           <a:sortLink id="col19-sort"  label="#{msg.somecoModel_client}" value="{http://www.someco.fr/project/model/content/1.0}client" styleClass="header" />
      </f:facet>
      <h:outputText id="col19-txt" value="#{r.properties['{http://www.someco.fr/project/model/content/1.0}client']}'/>
</a:column>

This will work if you had registered your model in  web-client-config-custom.xml
have a nice day!!!
hope the answer was not late 4 u.