Content Modelling model.xml Best Practice

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2011 04:53 AM
Hi
Simple question to experienced users: are you coding <content>model.xml by hand?
I have in mind something like: model using UML and then combining the UML with the xsd to automagically
create the bulk of the content model xml file.
And, I'd like to do that with Eclipse.
I've seen SideLabs mentioned, but unsure about how that helps since their website is rather sparse.
So, some insight into how you go about the possibly painful and laborious task of coding the xml would be welcomed. I'd like to avoid manually writing xml if at all possible ….
Jason
Simple question to experienced users: are you coding <content>model.xml by hand?
I have in mind something like: model using UML and then combining the UML with the xsd to automagically

And, I'd like to do that with Eclipse.
I've seen SideLabs mentioned, but unsure about how that helps since their website is rather sparse.
So, some insight into how you go about the possibly painful and laborious task of coding the xml would be welcomed. I'd like to avoid manually writing xml if at all possible ….
Jason
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2011 01:26 PM
I write the XML files by hand, well with an XML editor. There's not a lot to them.
You can add the XSD file to Eclipse's XML catalog to get syntax highlighting and validation.
You can add the XSD file to Eclipse's XML catalog to get syntax highlighting and validation.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2011 03:09 PM
Regarding Side Labs: it provides the graphical UML option it sounds like you're looking for. Further to that though, it also customises various Share config files to expose those models within Share automatically.
Note: this is all based off a demo I saw of Side Labs at the recent London DevCon, so you might want to contact them for more detailed info.
Thanks,
Mike
Note: this is all based off a demo I saw of Side Labs at the recent London DevCon, so you might want to contact them for more detailed info.
Thanks,
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2013 11:15 AM
Hello:
I need to add new attributes to the user, ie extending the user model. We saw that in the contentModel, is where are the attributes that have defined the alfresco user, but what I find is where you put the code to display these properties, as is done when you create a content type and then modified the web-client-config.xml.
Greetings, I hope your help.
Note: Sorry for my English.
I need to add new attributes to the user, ie extending the user model. We saw that in the contentModel, is where are the attributes that have defined the alfresco user, but what I find is where you put the code to display these properties, as is done when you create a content type and then modified the web-client-config.xml.
Greetings, I hope your help.
Note: Sorry for my English.
