<?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 xpath Search in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297321#M250451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on Enterprise v4.1.7. When I'm executing below piece of code in Repository scripts,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!–break–&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var query = "/app:company_home/app:dictionary/app:email_templates/*[@cm:name='activities']";&lt;BR /&gt;if(search.isValidXpathQuery(query))&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var nodes = search.xpathSearch(query);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting this error &amp;lt;em&amp;gt;Failed to run Actions due to error: 00313884 Failed to execute script 'workspace://SpacesStore/1d9b35dd-0519-4098-aaf7-92e0fffa095a': 00313883 Failed to execute search: /app:company_home/app:dictionary/app:email_templates/*[@cm:name='activities']&amp;lt;/em&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And this is caused by &amp;lt;em&amp;gt;java.lang.UnsupportedOperationException&amp;lt;/em&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is even when it successfully validates &amp;lt;strong&amp;gt;'isValidXpathQuery'&amp;lt;/strong&amp;gt; method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what I've missed here. Can anybody help me with this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jan 2014 13:31:47 GMT</pubDate>
    <dc:creator>anshu_kumar</dc:creator>
    <dc:date>2014-01-31T13:31:47Z</dc:date>
    <item>
      <title>xpath Search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297321#M250451</link>
      <description>I am working on Enterprise v4.1.7. When I'm executing below piece of code in Repository scripts,&amp;lt;!–break–&amp;gt;var query = "/app:company_home/app:dictionary/app:email_templates/*[@cm:name='activities']";if(search.isValidXpathQuery(query)){&amp;nbsp;&amp;nbsp;&amp;nbsp;var nodes = search.xpathSearch(query);}‍‍‍‍‍I am getting</description>
      <pubDate>Fri, 31 Jan 2014 13:31:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297321#M250451</guid>
      <dc:creator>anshu_kumar</dc:creator>
      <dc:date>2014-01-31T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: xpath Search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297322#M250452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure why that is failing but is xpath a requirement? You can get the desired result by running the Lucene equivalent, which is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;+PATH:"/app:company_home/app:dictionary/app:email_templates/*" +@cm\:name:"activities"&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 16:36:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297322#M250452</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-01-31T16:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: xpath Search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297323#M250453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems Xpath language does not support complex queries .I also use lucene language.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2014 01:32:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297323#M250453</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-02-02T01:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: xpath Search</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297324#M250454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lucene does not support Exact search. Can you tell me, do XPath supports and How should be the query in the node browser say for a particuar property cm:title of a articuar type cm:content. Please do reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mrinal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 12:02:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/xpath-search/m-p/297324#M250454</guid>
      <dc:creator>mrinal3199</dc:creator>
      <dc:date>2014-05-30T12:02:49Z</dc:date>
    </item>
  </channel>
</rss>

