Webscripts and aspects

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 02:25 AM
Hi All,
Was wondering if there is a possibility to extend model programmatically like creating new aspects and their associations
Was wondering if there is a possibility to extend model programmatically like creating new aspects and their associations
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 02:32 AM
Could you please provide more details on this to help better understand your scenario.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 03:50 AM
Yes you can
Alfresco model is just and XML file ,you can manipulate the xml file usingthe dynamic deployment approach .That is placesing the xml files in the content repository under Company Home/Data Dictionary/Models.
Alfresco model is just and XML file ,you can manipulate the xml file usingthe dynamic deployment approach .That is placesing the xml files in the content repository under Company Home/Data Dictionary/Models.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 04:40 AM
Definitely i can, but my question was can i do it in webscript based on certain logic
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2014 04:55 AM
Yes of course ,There is not much difference between operating nodes in Company Home/Data Dictionary/Models and operating other nodes.
You can just add nodes with xml content using webscript just as you add other nodes ,just make sure the xml content you upload is a legal model definition file.
You can just add nodes with xml content using webscript just as you add other nodes ,just make sure the xml content you upload is a legal model definition file.
