upload API Rest rest Dynamic Model

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2014 09:10 AM
How I can upload with API Rest a content with a Dynamic Model?? http://wiki.alfresco.com/wiki/Dynamic_Models
Thanks a tlot
Thanks a tlot
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2014 01:28 AM
There is no difference between uploading a content model and uploading other contents.
Just creating a node of type "cm:dictionaryModel" and setting the content model xml as the content property,and uploading it into repository under path /app:company_home/app:dictionary/app:models will be ok.
And be sure to set "cm:modelActive" property to true to register it.
Just creating a node of type "cm:dictionaryModel" and setting the content model xml as the content property,and uploading it into repository under path /app:company_home/app:dictionary/app:models will be ok.
And be sure to set "cm:modelActive" property to true to register it.
