Aspects with Rest (Alfresco 3.2 Enterprise)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2011 02:27 PM
Hi Everyone.
I wanted to expose a doubt that we are having with a particular version of Alfresco.
I am told that the Enterprise version 3.2 can not be used with webscripts aspects (manage aspects with REST).
Is it right?.
I backward and I used this with webscritps aspects, either through
Js API, or through Java backends. I, for example, I created documents through webscripts and I have added the
aspects that he thought fit.
Are there any restrictions in version 3.2 with the issues and webscritps?
Thank you very much, teachers.
I wanted to expose a doubt that we are having with a particular version of Alfresco.
I am told that the Enterprise version 3.2 can not be used with webscripts aspects (manage aspects with REST).
Is it right?.
I backward and I used this with webscritps aspects, either through
Js API, or through Java backends. I, for example, I created documents through webscripts and I have added the
aspects that he thought fit.
Are there any restrictions in version 3.2 with the issues and webscritps?
Thank you very much, teachers.
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 04:27 AM
I think that you should share with us your implementation with more information about the issue, otherwise we can't support you
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 05:01 AM
Thank for you answer.
But the question that I refer: is possible manage aspects whit REST in alfresco 3.2 Enterprise?
Regards.
But the question that I refer: is possible manage aspects whit REST in alfresco 3.2 Enterprise?
Regards.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 05:41 AM
What do you mean by "manage aspects"?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 05:42 AM
If you create your own REST interfaces, theres should be no difference between the Enterprise and Community. http://wiki.alfresco.com/wiki/Web_Scripts
If you are using CMIS, http://wiki.alfresco.com/wiki/CMIS#Aspect_Support, then aspects may not be supported in the version you are using. See http://wiki.alfresco.com/wiki/CMIS#Alfresco_CMIS_Compliance
If you are using CMIS, http://wiki.alfresco.com/wiki/CMIS#Aspect_Support, then aspects may not be supported in the version you are using. See http://wiki.alfresco.com/wiki/CMIS#Alfresco_CMIS_Compliance
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 06:37 AM
Hi.
I want to know if is possible, for example, add an aspect to a content, or delete an aspect by REST with alfresco 3.2 Enterprise.
Regards.
I want to know if is possible, for example, add an aspect to a content, or delete an aspect by REST with alfresco 3.2 Enterprise.
Regards.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 08:44 AM
Relating adding an aspect to a content, try using:
I succed in developing a web script that upload a document and apply a specific aspect to the document, so it should work for you too.
Relating aspect removal, same considerations for:
Maybe you can find this link useful: http://wiki.alfresco.com/wiki/3.2_JavaScript_API
Hope it helps.
boolean addAspect(string aspect)
Adds a new aspect to the node. Returns true if the aspect was added successfully, false otherwise. The type is a QName of the aspect to add in either fully qualified or short name form. For example: document.addAspect("cm:translatable");
I succed in developing a web script that upload a document and apply a specific aspect to the document, so it should work for you too.
Relating aspect removal, same considerations for:
boolean removeAspect(string aspect)
Removes the specified aspect from the node.
Maybe you can find this link useful: http://wiki.alfresco.com/wiki/3.2_JavaScript_API
Hope it helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 09:59 AM
Thanks Marco.
Regards.
Regards.