<?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 Remove content script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/remove-content-script/m-p/281784#M234914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I am using WCMQS on one of my many projects. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I have a problem with database locks and it seems to be coming from a publish. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I was given the following script to clear the que. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; &lt;BR /&gt; var nodes = search.luceneSearch("+PATH:""/app:company_home/st:sites/cm:hmornsite//*""+TYPE:""ws:publishqueueentry""");&lt;BR /&gt;&lt;BR /&gt;for each(n in nodes) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; n.remove();&lt;BR /&gt;}&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is this throws an error &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Failed to run Actions due to error: 11134573 Failed to execute script 'workspace://SpacesStore/b522c466-9ffb-47a5-a7bf-f59fb3207979': missing ) after argument list (workspace://SpacesStore/b522c466-9ffb-47a5-a7bf-f59fb3207979#1) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; the syntax's seems odd &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2013 19:27:52 GMT</pubDate>
    <dc:creator>michaelc</dc:creator>
    <dc:date>2013-12-13T19:27:52Z</dc:date>
    <item>
      <title>Remove content script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/remove-content-script/m-p/281784#M234914</link>
      <description>Greetings.  I am using WCMQS on one of my many projects.  I have a problem with database locks and it seems to be coming from a publish.  I was given the following script to clear the que.    var nodes = search.luceneSearch("+PATH:""/app:company_home/st:sites/cm:hmornsite//*""+TYPE:""ws&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublishqueue</description>
      <pubDate>Fri, 13 Dec 2013 19:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/remove-content-script/m-p/281784#M234914</guid>
      <dc:creator>michaelc</dc:creator>
      <dc:date>2013-12-13T19:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove content script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/remove-content-script/m-p/281785#M234915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem is with the query syntax, there's a couple of unescaped quotes there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2014 10:00:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/remove-content-script/m-p/281785#M234915</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2014-01-12T10:00:13Z</dc:date>
    </item>
  </channel>
</rss>

