<?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: SDK 3 - delete document in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63474#M21796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now the operation is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current user need WRITE permissions on the file to remove it or you should&amp;nbsp;execute your Web Script as "admin":&amp;nbsp;&lt;A href="https://angelborroy.wordpress.com/2015/07/24/alfresco-run-as-system-admin-user-without-credentials/" rel="nofollow noopener noreferrer"&gt;https://angelborroy.wordpress.com/2015/07/24/alfresco-run-as-system-admin-user-without-credentials/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2018 14:19:03 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2018-03-12T14:19:03Z</dc:date>
    <item>
      <title>SDK 3 - delete document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63469#M21791</link>
      <description>Hi,i have added button on my form in order to delete a document :but when i click it , i have the following issue "remove function not found"This is the javascript code :I use for that :&amp;nbsp;remove | Alfresco Documentation&amp;nbsp;What is missing ?Thank's in advance</description>
      <pubDate>Mon, 12 Mar 2018 10:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63469#M21791</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-03-12T10:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 3 - delete document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63470#M21792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried with document.remove()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 11:15:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63470#M21792</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-03-12T11:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 3 - delete document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63471#M21793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on which type of object you are calling this method.&amp;nbsp;&lt;STRONG&gt;document.nodeRef&amp;nbsp;&lt;/STRONG&gt;will return the string object so it will throw an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;document.remove() should do the trick , but still as i said it depends on the type of object.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 11:18:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63471#M21793</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2018-03-12T11:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 3 - delete document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63472#M21794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/community/references/API-JS-rootscoped.html" title="https://docs.alfresco.com/community/references/API-JS-rootscoped.html" rel="nofollow noopener noreferrer"&gt;Root objects | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"document" is used to be a &lt;EM&gt;ScriptNode&lt;/EM&gt; object, ready to accept that &lt;EM&gt;remove&lt;/EM&gt; method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 11:44:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63472#M21794</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-03-12T11:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 3 - delete document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63473#M21795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;i would like to delete pdf document.&lt;/P&gt;&lt;P&gt;I suppose document.remove() should work&amp;nbsp;because, now, i got a message about&amp;nbsp;acces&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/19599_pastedImage_1.png" style="width: 620px; height: 97px;" /&gt;&lt;/P&gt;&lt;P&gt;what is the right way to allow this operation ?&lt;/P&gt;&lt;P&gt;Is there a specific method to use before document.remove() or is it in user profil ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 14:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63473#M21795</guid>
      <dc:creator>anakin59490</dc:creator>
      <dc:date>2018-03-12T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: SDK 3 - delete document</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63474#M21796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now the operation is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current user need WRITE permissions on the file to remove it or you should&amp;nbsp;execute your Web Script as "admin":&amp;nbsp;&lt;A href="https://angelborroy.wordpress.com/2015/07/24/alfresco-run-as-system-admin-user-without-credentials/" rel="nofollow noopener noreferrer"&gt;https://angelborroy.wordpress.com/2015/07/24/alfresco-run-as-system-admin-user-without-credentials/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 14:19:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sdk-3-delete-document/m-p/63474#M21796</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-03-12T14:19:03Z</dc:date>
    </item>
  </channel>
</rss>

