05-23-2016 11:01 AM
05-23-2016 04:06 PM
05-24-2016 08:22 AM
05-27-2016 10:19 AM
06-08-2018 02:19 AM
Hey Jeff,
Is this method still available in 5.2? When a do something like
a href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/sites/test-site/documentLibrary/index.html?cmisaction=delete">
It simply downloads the file instead of deleting. Do these delete requests always need to be in a form so that we are not "GET" requesting and always "POST"ing. I'm sure this is a stupid question so I apologize, but I figured I'd reach out because someone else may be having this problem as well.
06-10-2018 11:18 PM
Yes, 5.2 still supports CMIS 1.1 and the browser binding. However, I'm seeing the same thing as you are when I do a GET.
I used cmislib to verify that the browser binding being used here still is able to delete objects. The way that works is that it does a POST against the root URL (http://alfresco.local:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root) with the content-type set to "application/x-www-form-urlencoded" and the objectId and cmisaction as parameters.
So, if you really need that to be a link, use JQuery or similar to do a POST and it should work.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.