cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Custom Properties to Person Object in Share(4.0.d)

pmrreddy
Champ on-the-rise
Champ on-the-rise
Hello All,



i have environment Alfresco Share 4.0.d in that i want to add my custom properties to the person object. Can anyone help me how i can do this task

Regards.

Pmrreddy
5 REPLIES 5

mitpatoliya
Star Collaborator
Star Collaborator
For that you can create the aspect which will contains the set of your custom properties.
then attach that aspect to the person object.

You can do it by changing content model.
But it is advisable to not to change the OOTB content model.

pmrreddy
Champ on-the-rise
Champ on-the-rise
Hi mitpatoliya

thnx for advice,is there any other way rather than changing the content model. I want to create a site in share for that the user should need some additional properties so how can i achive this.


Regards.

Pmrreddy.

jpfi
Champ in-the-making
Champ in-the-making
hi,
you should add/use an aspect if you'd like to have custom properties on your person objects…& that implies adding a custom content model
What's your usecase?
cheers, jan

pmrreddy
Champ on-the-rise
Champ on-the-rise
Hi Jan,


i want to create a Hr Module site in Alfresco Share(4.0.d) Community Edition, in that first i want to add some of my custom properties like Employee id, Passport no , Pancard no ..e.t.c  to the Person Object so that a Hr Manager can fill the form as Employee Registeration.

Regards.
Pmrreddy

bisana
Champ on-the-rise
Champ on-the-rise
Hi reddy
I also faced problem and was lost.
Help from the forum and referring this  excellent article helped me a lot and I was able to do the task
http://ecmarchitect.com/images/articles/alfresco-content/content-article-2ed.pdf
It is excellent article, must read