<?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: javascript unable to remove record cutoff in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281463#M234593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you execute the javascript ? can you run it as admin?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 15:30:53 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2016-10-27T15:30:53Z</dc:date>
    <item>
      <title>javascript unable to remove record cutoff</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281462#M234592</link>
      <description>I'm trying to use the JavaScript actions API to remove the cutoff on a record folder, and reopen the folder.&amp;nbsp; A snippet of the code:&amp;nbsp;&amp;nbsp;&amp;nbsp; var uncutoffAction = actions.create("unCutoff");&amp;nbsp;&amp;nbsp;&amp;nbsp; var openFolderAction = actions.create("openRecordFolder");&amp;nbsp;&amp;nbsp;&amp;nbsp; uncutoffAction.execute(matches[0].nodeRef);&amp;nbsp;&amp;nbsp;&amp;nbsp; ope</description>
      <pubDate>Thu, 27 Oct 2016 15:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281462#M234592</guid>
      <dc:creator>abruzzi</dc:creator>
      <dc:date>2016-10-27T15:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: javascript unable to remove record cutoff</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281463#M234593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you execute the javascript ? can you run it as admin?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 15:30:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281463#M234593</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-10-27T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: javascript unable to remove record cutoff</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281464#M234594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on your error it seems error related to access right for the user with which you are trying to execute this script.&lt;/P&gt;&lt;P&gt;Apart from may be these actions are not allowed to be executed via script because RM module has many such restriction to maintain it's compliance and Record life cycles.&lt;/P&gt;&lt;P&gt;Hope you have gone through this article which has good description regarding all those actions.&lt;/P&gt;&lt;P&gt; &lt;A _jive_internal="true" href="https://community.alfresco.com/docs/DOC-5023-records-management-user-guide#w_recordcutoffinformation" title="https://community.alfresco.com/docs/DOC-5023-records-management-user-guide#w_recordcutoffinformation" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/docs/DOC-5023-records-management-user-guide#w_recordcutoffinformation&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/docs/DOC-5271"&gt;Records Management&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 18:10:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281464#M234594</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2016-10-27T18:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: javascript unable to remove record cutoff</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281465#M234595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It'll also be worth checking the user running the script has the correct RM role assigned: &lt;A href="http://docs.alfresco.com/rm/concepts/rm-roles-intro.html" title="http://docs.alfresco.com/rm/concepts/rm-roles-intro.html" rel="nofollow noopener noreferrer"&gt;Define roles | Alfresco Documentation&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 08:34:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281465#M234595</guid>
      <dc:creator>davidcognite</dc:creator>
      <dc:date>2016-10-28T08:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: javascript unable to remove record cutoff</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281466#M234596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script is being run through the "rules" mechanism placed on a category inside of RM.&amp;nbsp; As I understand it, that means that the script will run as the user that moves or changes the file that triggers the rule to run.&amp;nbsp; In testing that is me, an administrator with full permission in the RM system.&amp;nbsp; I am able to manually remove the cutoff using the "undo cutoff" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seem in RM actions are run by the rmaction service, not the action service.&amp;nbsp; Some RM actions seem to be fine running through the action service,&amp;nbsp; but this one is not.&amp;nbsp; Since rmaction is not exposed to javascript, we're looking at building a action that proxys an rm action, to let rm action do what magic it needs to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 16:02:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-unable-to-remove-record-cutoff/m-p/281466#M234596</guid>
      <dc:creator>abruzzi</dc:creator>
      <dc:date>2016-10-28T16:02:56Z</dc:date>
    </item>
  </channel>
</rss>

