<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Delete Object in Alfresco 5.1 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298168#M251298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this method still available in 5.2? When a do something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;a href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/sites/test-site/documentLibrary/index.html?cmisaction=delete"&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2018 06:19:08 GMT</pubDate>
    <dc:creator>ewhipp</dc:creator>
    <dc:date>2018-06-08T06:19:08Z</dc:date>
    <item>
      <title>Delete Object in Alfresco 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298164#M251294</link>
      <description>Hi All,I need to delete a node object as well as a forum post in Alfresco 5.1 but I don't see more the repo webscriptIn Alfresco 4.0.e I had the possibility to invoke the REST API&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;ELETE /alfresco/service/api/node/{store_type}/{store_id}/{id} (see screenshot)I try to create a new repo webscript usin</description>
      <pubDate>Mon, 23 May 2016 15:01:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298164#M251294</guid>
      <dc:creator>sorrentinov</dc:creator>
      <dc:date>2016-05-23T15:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Object in Alfresco 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298165#M251295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Given a file in the root of your repo called deleteme.txt, you can do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/deleteme.txt?cmisaction=delete" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/deleteme.txt?cmisaction=delete&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To delete the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to get the object instead, you could do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/deleteme.txt?cmisselector=object" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/deleteme.txt?cmisselector=object&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is consistent with the CMIS API using the raw browser binding, so read more on that if you need help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 20:06:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298165#M251295</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-05-23T20:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Object in Alfresco 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298166#M251296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jeff for your suggestion to delete a file using CMIS API,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I need to delete a node (forum post object) using it's noderef (Eg. workspace://SpaceStore/xxxxxxxx…..), is it possible using the CMIS API with browser binding?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, if I create a repo webscript to do this work, is there a cmis root object in javascript to delete a post node (I see that cmiserver root object is missing in Alfresco 5.1)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincenzo&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298166#M251296</guid>
      <dc:creator>sorrentinov</dc:creator>
      <dc:date>2016-05-24T12:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Object in Alfresco 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298167#M251297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you should be able to using the CMIS 1.1 endpoint because CMIS 1.1 supports cmis:item and I *think* that forum objects should descend from cmis:item.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you are in a repo webscript there is no reason to use CMIS to do this. Just use the ScriptNode object and call the remove method on that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/community/references/API-JS-remove.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/community/references/API-JS-remove.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 14:19:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298167#M251297</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-05-27T14:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Object in Alfresco 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298168#M251298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this method still available in 5.2? When a do something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;a href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root/sites/test-site/documentLibrary/index.html?cmisaction=delete"&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 06:19:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298168#M251298</guid>
      <dc:creator>ewhipp</dc:creator>
      <dc:date>2018-06-08T06:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Delete Object in Alfresco 5.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298169#M251299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 (&lt;SPAN style="color: #505050; font-family: OpenSans, Helvetica, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;&lt;A class="jive-link-external-small" href="http://alfresco.local:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root" rel="nofollow noopener noreferrer" target="_blank"&gt;http://alfresco.local:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root&lt;/A&gt;&lt;/SPAN&gt;) with the content-type set to "application/x-www-form-urlencoded" and the objectId and cmisaction as parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you really need that to be a link, use JQuery or similar to do a POST and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 03:18:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delete-object-in-alfresco-5-1/m-p/298169#M251299</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2018-06-11T03:18:30Z</dc:date>
    </item>
  </channel>
</rss>

