cancel
Showing results for 
Search instead for 
Did you mean: 

add properties to users

srojas
Champ in-the-making
Champ in-the-making
Hello, i want to add new properties to users. i define a new type in my model in this way:
     <type name="usu:usuarios">
          <title>Usuarios de CSG</title>
          <parent>cmSmiley Tongueerson</parent>
          <properties>
   <property name="usu:rol">
        <type>d:text</type>
        <mandatory>true</mandatory>
   </property>
   <property name="usu:areafuncional">
        <type>d:text</type>
        <mandatory>true</mandatory>
   </property>
          </properties>
</type>

And later i modify my web-config-custom.xml in this way:

<config evaluator="node-type" condition="usu:usuarios">
   <property-sheet>
         <show-property name="usu:rol" display-label="Rol"/>
         <show-property name="usu:areafuncional" display-label="Area funcional"/>
   </property-sheet>
</config>

<config evaluator="string-compare" condition="Content Wizards">
     <content-types>
   <type name="usu:usuarios" />
     </content-types>
</config>

But the new properties of the users doesn't appear in the webClient.
Somebody can help me?

Thanks.
3 REPLIES 3

rivarola
Champ on-the-rise
Champ on-the-rise
Hello,

The property sheet can be configured for contents, not for users. The JSP showing the users are static and do not manage custom properties.

kevinr
Star Contributor
Star Contributor
It's definitely something we should add! Please raise a JIRA item for it and vote on it.

Thanks,

Kevin

rivarola
Champ on-the-rise
Champ on-the-rise
Hello Kevin,

I created the issue in JIRA : http://issues.alfresco.com/browse/AWC-1665

Maybe I should have asked to an english-speaking user to do that  :wink:

Everybody can vote now!