<?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 Restrict File Picker to certain folder(s) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/restrict-file-picker-to-certain-folder-s/m-p/225570#M178700</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;SPAN&gt;I'd like to restrict both the file &amp;amp; category picker tool to certain directories - so file picker is restricted to a given folder and the category picker to a certain category + children (I'd also like the person picker to behave similarly in the share interface to how it does in Explorer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see in the WCM xForms that this is possible like so:&lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;control-param name="selectable_types"&amp;gt;wcm:somefolder&amp;lt;/control-param&amp;gt;&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;SPAN&gt;So the code in web-framework-config-custom.xml might look something like below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;field id="mz:Owner" label="Owner" set="owner"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;control template="/org/alfresco/components/form/controls/association.ftl" &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;control-param name="showTargetLink"&amp;gt;true&amp;lt;/control-param&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;control-param name="selectable_types"&amp;gt;app:/company_home/people&amp;lt;/control-param&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/control&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;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;BR /&gt;&lt;SPAN&gt;Is this possible in Share 3.2 CE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Mar 2010 09:35:51 GMT</pubDate>
    <dc:creator>eddiem</dc:creator>
    <dc:date>2010-03-12T09:35:51Z</dc:date>
    <item>
      <title>Restrict File Picker to certain folder(s)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrict-file-picker-to-certain-folder-s/m-p/225570#M178700</link>
      <description>Hi,I'd like to restrict both the file &amp;amp; category picker tool to certain directories - so file picker is restricted to a given folder and the category picker to a certain category + children (I'd also like the person picker to behave similarly in the share interface to how it does in Explorer).I</description>
      <pubDate>Fri, 12 Mar 2010 09:35:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrict-file-picker-to-certain-folder-s/m-p/225570#M178700</guid>
      <dc:creator>eddiem</dc:creator>
      <dc:date>2010-03-12T09:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict File Picker to certain folder(s)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrict-file-picker-to-certain-folder-s/m-p/225571#M178701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've done that in this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've create a custom copy of association.ftl control under "Web Framework Commons/config/alfresco/site-webscripts/org/alfresco/components/form/controls"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;called association_custom.ftl changing this line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;parentNodeRef: "alfresco://company/home",&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;SPAN&gt;With my node ref (taken from node explorer) inteteas od the "alfresco://company/home" value, something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;parentNodeRef: "workspace://SpacesStore/4059db5d-6ac2-43c2-b59a-45b05b4c0454",&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;SPAN&gt;Then I used the association_custom.ftl intead of the association.ftl in share form config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jul 2010 08:48:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrict-file-picker-to-certain-folder-s/m-p/225571#M178701</guid>
      <dc:creator>woody</dc:creator>
      <dc:date>2010-07-30T08:48:27Z</dc:date>
    </item>
  </channel>
</rss>

