cancel
Showing results for 
Search instead for 
Did you mean: 

Showing/editing additional person properties

hreintke
Champ in-the-making
Champ in-the-making
LS,

I am fairly new to alfresco and experimenting with content models.
What I want to achieve is adding new properties or aspects to the cmSmiley Tongueerson type to hold company specific data on a user.

To keep the start easy, I checked the cmSmiley Tongueerson and noticed some properties that are not shown on the new/edit user screens.
So I edited the web-client-config-custom.xml and added :

   <config evaluator="node-type" condition="cmSmiley Tongueerson">
      <property-sheet>
        <show-property name="cm:mobile" />
      </property-sheet>
   </config>

and expected to be able to use the additional field. But it still doesn't show up.

Question : Is editing the web-client-config-custom.xml the right way to show more info on the user/person
                 If yes : Did I edited wrong or should I configure in more files ?
                 if no : can you hint me on some doc's where I can find the info on the way of doing it ?

Kind regards,

Herman
2 REPLIES 2

monitloth
Champ on-the-rise
Champ on-the-rise
I think it is a wizard and not a property view in the same manner as viewing space and document information. If my statement is correct, you must modify the jsp file(s) and the java wizard class.

hreintke
Champ in-the-making
Champ in-the-making
That is what I expected also so I was checking the edit-users-details.jsp file

where I see the visible fields coming as (for example)

<f:verbatim/>
<hSmiley SurprisedutputText value="#{msg.user_description}:"/>
<h:inputTextarea id="biography" value="#{DialogManager.bean.personDescription}" rows="6" cols="60" />

But at the end if the file there is this :

<hSmiley TongueanelGrid columns="2" cellpadding="2" cellspacing="0" width="100%" style="padding-top:8px">
<!– custom properties for cmSmiley Tongueerson type –>
<f:verbatim/>
<rSmiley TongueropertySheetGrid id="person-props" value="#{DialogManager.bean.person}"
var="personProps" columns="1" externalConfig="true" />
</hSmiley TongueanelGrid>

And that is why I expected it to be able to configure in web-client-config-custom.xml and not needed to edit the jsp file itself.

Question : Should I be able to "just configure", may be in another file
If not, can you explain (or link me to the documentation) what the last panelgrid is expected to do ?

Kind regards,

Herman