cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying User profile model and Site model for Share

michalwrobel
Champ on-the-rise
Champ on-the-rise
1) I need to modify user profile model and add appropriate editor/ output text field for this data to alfresco share profile panel.

I guess type responsible for user metadata is stored in cmSmiley Tongueerson in

http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alf...

file.

Is it appropriate to modify content model as described here?:
http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Modifying_an_Alfresco_Content_Model

It is said it's not recommended, do you see better way to do this?

How is it possible to develop appropriate alfresco share gui modifications? (to add a field and editor)
Can you give me any start point?

And just because I'm curious - where are stored user passwords, because I don't see them in model?



2 ) Second aspect needed is to modify Site metadata, again I need 2 more fields.
It's more complicated to me, I discovered that Site folders have the same content type (cm:folder) as the other, and there are no such fields as 'url name' , 'type' or 'visibility'. So I guess Share specific metadata is stored elsewhere than in main content model and joined someway with normal folder.
Where is it, and how to modify it?

[img]http://dl.dropbox.com/u/1846654/create_site.jpg[/img]

What is the best approach to modifying pop up windows such as 'create site' and other like them in share?
1 REPLY 1

billerby
Champ on-the-rise
Champ on-the-rise
1) The following topic discusses how you can extend the user model without modifying the original Alfresco contentModel.xml http://forums.alfresco.com/en/viewtopic.php?f=5&t=20970

For share modifiactions, have a look at the official docs here: http://docs.alfresco.com/3.4/index.jsp?topic=%2Fcom.alfresco.Enterprise_3_4_0.doc%2Fconcepts%2Fdev-S...

2) For the site modification maybe you can use the same technic as above with the user aspect? If you look at the st:site in siteModel.xml the url field seems to correspond to the inherited (from cm:folder) cm:name property, the name is the cm:title-property. There is as well a st:siteVisibility property.