cancel
Showing results for 
Search instead for 
Did you mean: 

Showing aditional info in space properties tab

lvasa
Champ in-the-making
Champ in-the-making
Hello,

I am working with Alfresco frontend and I need to show aditional information in space details properties tab.

Is there any way to show the full name (i.e. firstName and lastName) of the space creator (or modifier)? By default only the userName is shown in the creator and modifier fields, and I don't know if this is possible show this information.

Thanks,
Laura
3 REPLIES 3

_sax
Champ in-the-making
Champ in-the-making
You're referring to cm:firstName and cm:lastName. To display these on the space properties tab, you have to edit
the webclient-config-custom.xml in Alfresco/tomcat/shared/classes/alfresco/extension .
How's here:
http://wiki.alfresco.com/wiki/Displaying_Custom_Metadata#Viewing_Aspect_Properties_in_the_Web_Client...
But the space property tab is not described there. That would be cm:folder.

   <config evaluator="aspect-name" condition="cm:folder">
      <property-sheet>
         <show-property name="cm:firstName"/>
         <show-property name="cm:lastName"/>
      </property-sheet>
   </config>

That could work.

lvasa
Champ in-the-making
Champ in-the-making
Thanks for replying.

I've added the lines you've posted in my webclient-config-custom.xml, but it doesn't work: only the userName is shown.

Do I have to do anything else in another file? It's necessary to define the aspect in the model XML file?

I have also tried to change other things without success. I don't find the way to do that. Any idea?

_sax
Champ in-the-making
Champ in-the-making
I actually don't know if the additional data I mentioned is stored within the space node; now that you're saying it's not working, I believe not. So Alfresco possibly only stores the username as you see it, when writing the space or content owner to the respective node. There's then no easy way to display these real name information (except via scripts that start from rules when something gets updated).