<?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: targetLocation parameter in association.ftl in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308170#M261300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeff. Let me try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 11:06:14 GMT</pubDate>
    <dc:creator>prasobhraj</dc:creator>
    <dc:date>2016-10-12T11:06:14Z</dc:date>
    <item>
      <title>targetLocation parameter in association.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308168#M261298</link>
      <description>Hi,I want to use one folder in shared repository as target location in association.ftl . Please advice how to make it . Path as belowShared/Folder1/Folder2I had tried by putting the noderef . its working fine. I need to make it with by specifying path. or is there any way to make it dynamically assi</description>
      <pubDate>Sun, 28 Aug 2016 14:51:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308168#M261298</guid>
      <dc:creator>prasobhraj</dc:creator>
      <dc:date>2016-08-28T14:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: targetLocation parameter in association.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308169#M261299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you know how to create an association using a node ref as the target. But what you'd like to do is use the path instead. So all you have to do is get the folder by path, then get that folder's node ref and then you know how to create the association from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably the easiest way to get something by path is to use search, like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SearchService.query(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, SearchService.LANGUAGE_XPATH, "/app:company_home/cm:path/cm:to/cm:Folder1/cm:Folder2")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;That returns a result set, then you can get the node from the result set and ask it for its node ref.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 19:52:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308169#M261299</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-09-07T19:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: targetLocation parameter in association.ftl</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308170#M261300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jeff. Let me try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 11:06:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/targetlocation-parameter-in-association-ftl/m-p/308170#M261300</guid>
      <dc:creator>prasobhraj</dc:creator>
      <dc:date>2016-10-12T11:06:14Z</dc:date>
    </item>
  </channel>
</rss>

