AnsweredAssumed Answered

Space Selector

Question asked by yuugilee on Sep 15, 2010
Hi,

In my workflow there, i need to provide a space selector for user, currently i only able to make it as free text using :

<property name="ra:Space">
        <type>d:text</type>
        <mandatory>true</mandatory>
        <multiple>false</multiple>
</property>

I try using cm:folder aspect as below, but it will list out all the folder include those system folders.
<mandatory-aspects>
     <aspect>ra:Space</aspect>
</mandatory-aspects>

<aspect name="ra:Space">
   <associations>
      <association name="rapid:Creator">
         <source>
            <mandatory>false</mandatory>
            <many>false</many>
         </source>
         <target>
            <class>cm:person</class>
            <mandatory>true</mandatory>
            <many>false</many>
         </target>
      </association>
   </associations>
</aspect>

I only wish to show all folders under Company Home, if possible, wish to make it look like the ajax space selector in Create User page there (Home space selection).

Any advise are welcome. Thanks.

Outcomes