<?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: URGENT!!! Query String in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310585#M263715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if the first character of the name is a number, it is necessary to encode it. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/app:company_home/st:sites/cm:test/cm:documentLibrary/cm:_x0032_013&lt;SPAN class="line-numbers-rows"&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;To obtain the encoded name (with javascript API) you can use the method in the search object:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;search.ISO9075Encode("2013")&lt;SPAN class="line-numbers-rows"&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;By the way, if you are creating the path manually, it is always better to encode the names.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2013 11:42:00 GMT</pubDate>
    <dc:creator>marco_altieri</dc:creator>
    <dc:date>2013-12-13T11:42:00Z</dc:date>
    <item>
      <title>URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310577#M263707</link>
      <description>hi mates,i have a query problem and dont know the answer.. this code works:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ResultSet rs = searchService.query(storeRef, SearchService.LANGUAGE_XPATH, "/app:company_home/st:sites");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;NodeRef companyHomeNodeRe</description>
      <pubDate>Tue, 03 Dec 2013 11:03:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310577#M263707</guid>
      <dc:creator>enkidu</dc:creator>
      <dc:date>2013-12-03T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310578#M263708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you use the node browser in either alfresco share or alfresco explorer it will tell you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example&amp;nbsp; from my node browser.&amp;nbsp;&amp;nbsp; In this case my test site "pies" and an image in the Share doclib&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/app:company_home/st:sites/cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ies/cm:documentLibrary/cm&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;MG-130806-Parrot_Cay-7580569.jpg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 11:33:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310578#M263708</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2013-12-03T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310579#M263709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please check the XPath spec to learn about proper encoding of fragments in an XPath expression. In your case, you will most likely have a problem with your folder name which contain spaces. Spaces must be encoded in XPath. The encoding for that one character is _x0020_. For other characters, please refer to the spec or use the org.alfresco.util.ISO9075 utility for encoding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The prefix for any file / folder manually created is "cm:".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 11:35:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310579#M263709</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-12-03T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310580#M263710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;that _x0020_ solved the problem.. thnx a lot for ur help. im trying to find any tutorial about xpath expression and alfresco.. but to be honest and i dont wanna start flame so let it me say that way: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe there are some tutorials out there, but i didnt find them&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it would be great if u can place a link to a tutorial.. i think this link would help a lot of people.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 11:47:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310580#M263710</guid>
      <dc:creator>enkidu</dc:creator>
      <dc:date>2013-12-03T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310581#M263711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is documented in the &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#ISO_9075_encoding" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#ISO_9075_encoding&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;Alfresco wiki&amp;lt;/a&amp;gt;. This has basically nothing to do with Alfresco specifically rather with the universal standard ISO 9075. Any character that is invalid in its current context needs to be escaped. See &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://www.jtc1sc32.org/doc/N2151-2200/32N2157T-text_for_ballot-FDIS_9075-14.pdf" rel="nofollow noopener noreferrer"&gt;http://www.jtc1sc32.org/doc/N2151-2200/32N2157T-text_for_ballot-FDIS_9075-14.pdf&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;this draft on ISO/IEC 9075:2011 - Part 14: XML-Related Specifications&amp;lt;/a&amp;gt; for reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since this is a widely used and known standard, and there are also multiple utilities in Java (not limited to but containing org.alfresco.util.ISO9075) there are no Alfresco-specific tutorials.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 13:08:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310581#M263711</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-12-03T13:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310582#M263712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thnx.. for posting the link.. i will read it carefully.. can u tell me why sites i created with java causing problems in SHARE! (alfresco explorer NP)..? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when i click sites -&amp;gt; site finder -&amp;gt; the site didnt appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i click repository -&amp;gt; sites -&amp;gt; no site will be shown although there must be at least 3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:43:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310582#M263712</guid>
      <dc:creator>enkidu</dc:creator>
      <dc:date>2013-12-03T17:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310583#M263713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;since I do not know &amp;lt;b&amp;gt;how&amp;lt;/b&amp;gt; you have created the sites with Java it is difficult to say. The only way sites &amp;lt;b&amp;gt;should&amp;lt;/b&amp;gt; be created via Java is by using the SiteService.createSite() operation. Sites created that way should show up in the site finder. &amp;lt;b&amp;gt;BUT&amp;lt;/b&amp;gt; even those sites will not be complete and will not work fully in Share without some more work. You also need to create the surf-config data structure within the site which should contain the configuration for the site dashboard that also defines what tools are available (document library, calendar …).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please have a look at the structure of a site you create through Share and use that as a template for any kind of automatic logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 10:11:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310583#M263713</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-12-04T10:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310584#M263714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i got an error when i query a folder who are just numbers.. like the year 2013. (query string looks like this: //app:company_home/st:sites/cm:mysites/cm:2013)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Search failed due to: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 11130033 Request failed 400 /solr/alfresco/afts?wt=json&amp;amp;fl=DBID%2Cscore&amp;amp;rows=1000&amp;amp;df=TEXT&amp;amp;start=0&amp;amp;locale=de_DE&amp;amp;alternativeDic=DEFAULT_DICTIONARY&amp;amp;fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&amp;amp;fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON &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;when i use a string e.g. mynewfolder instead of 2013 the query worked.. any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 10:31:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310584#M263714</guid>
      <dc:creator>enkidu</dc:creator>
      <dc:date>2013-12-13T10:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310585#M263715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if the first character of the name is a number, it is necessary to encode it. For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;/app:company_home/st:sites/cm:test/cm:documentLibrary/cm:_x0032_013&lt;SPAN class="line-numbers-rows"&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;To obtain the encoded name (with javascript API) you can use the method in the search object:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;search.ISO9075Encode("2013")&lt;SPAN class="line-numbers-rows"&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;By the way, if you are creating the path manually, it is always better to encode the names.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 11:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310585#M263715</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2013-12-13T11:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT!!! Query String</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310586#M263716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thnx to all ;O) it worked&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 12:35:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-query-string/m-p/310586#M263716</guid>
      <dc:creator>enkidu</dc:creator>
      <dc:date>2013-12-13T12:35:44Z</dc:date>
    </item>
  </channel>
</rss>

