List groups in form

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

List groups in form

I'm trying to make a form in the document library. Its a select form where all groups are listed, and you pick the groups you want to pass on as arguments to an action, any idea how to do that? I didnt find anything helpful when it came to the listing of groups. Thanks in advance!

1 Reply
Highlighted

Re: List groups in form

Define a content model like this one.

<association name="kscontrol:simple-authority-container">
     <source>
          <mandatory>false</mandatory>
          <many>false</many>
     </source>
     <target>
          <class>cm:authorityContainer</class>
          <mandatory>false</mandatory>
          <many>false</many>
     </target>
</association>

And then you can use default authority.ftl control.

Software Engineer in Alfresco Search Team.