cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Share content model

rutaveejshah
Champ in-the-making
Champ in-the-making
I want to create an extra field in the user profile like birth date,Desigantion and their role etc.
I know for that i have to extend the content model.But i don't know in which file i would have to change. I read the example of jeff potts but  i did not get much idea  from that. If any one have any idea please guide me.



Thanks
4 REPLIES 4

ddraper
World-Class Innovator
World-Class Innovator
Is this the post you're referring to: http://ecmarchitect.com/archives/2012/02/27/1555? If so, that provides all the information that you should need. What part of the information in that post are you struggling with?

rutaveejshah
Champ in-the-making
Champ in-the-making
Is this work for alfresco community edition 4.0d?
I don't understand why i have to extend the org.alfresco.web.site.SlingshotUserFactory.

ddraper
World-Class Innovator
World-Class Innovator
Because (as the blog post explains) that is how the user object is created.

zladuric
Champ on-the-rise
Champ on-the-rise
Take a look at this blog post, it might help:
http://zlayer.net/blog/?p=302

It basically says that you can just extend a
metadata.get
webscript on Alfresco backend to include a few extra properties. It might suit you, it might not. It worked for me, I didn't want to recompile the SlingshotUserFactory to get one simple property.

Hope it helps.