cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Association to specific folder

cmspower123
Champ in-the-making
Champ in-the-making
Hi,

I want my association will search from specific folder only let say "Published".
It will not search files from any other source then this Published folder. How do I make it ?

What changes should I made to following my code to restrict to specific folder.

<associations>
            <association name="custom:AssocDocs">
            <title>GKR Associated Documents</title>
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>cm:content</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </association>
         </associations>


any help…..!!!
1 REPLY 1

jbarmash
Champ in-the-making
Champ in-the-making
I don't believe this is currently possible.  I believe you can put a constraint that runs code (e.g. to validate that you chose something from a particular set of subfolders), but i don't think you can enforce it on the UI level.  It might be possible to write some UI to do the constraining for you perhaps.