<?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: Accessing app:dictionary from Javascript server code in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122407#M86218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That syntax is known as the "QName Path" to the object - it represents the association names down to the object rather than the "name" path which is based on the cm:name properties of the folders down to the object. If you prefer to use QName path then that is good because it's actually a lot more efficient and you can use a Lucene search using the PATH: operator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So instead do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var results = search.luceneSearch("PATH:/app:company_home/app:dictionary/app:email_templates/cm:template.ftl");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#Search_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#Search_API&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Path_Queries" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Path_Queries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2008 17:59:23 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2008-02-07T17:59:23Z</dc:date>
    <item>
      <title>Accessing app:dictionary from Javascript server code</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122406#M86217</link>
      <description>Hi,I would like to use variables defined for system path (like app:dictionary) for accessing a freemarker template file that is here &lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;ata Dictionary/Email Templates/template.ftl‍When I try the syntaxcompanyhome.childByNamePath("app:dictionary/app:email_templates/template.ftl")‍it can't find my reso</description>
      <pubDate>Tue, 22 Jan 2008 16:04:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122406#M86217</guid>
      <dc:creator>bgl</dc:creator>
      <dc:date>2008-01-22T16:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing app:dictionary from Javascript server code</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122407#M86218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That syntax is known as the "QName Path" to the object - it represents the association names down to the object rather than the "name" path which is based on the cm:name properties of the folders down to the object. If you prefer to use QName path then that is good because it's actually a lot more efficient and you can use a Lucene search using the PATH: operator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So instead do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var results = search.luceneSearch("PATH:/app:company_home/app:dictionary/app:email_templates/cm:template.ftl");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#Search_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#Search_API&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Search#Path_Queries" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Search#Path_Queries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 17:59:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122407#M86218</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2008-02-07T17:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing app:dictionary from Javascript server code</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122408#M86219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Kevin ! That is exactly what I was looking for !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2008 18:07:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-app-dictionary-from-javascript-server-code/m-p/122408#M86219</guid>
      <dc:creator>bgl</dc:creator>
      <dc:date>2008-02-07T18:07:18Z</dc:date>
    </item>
  </channel>
</rss>

