In my workflow model I have an association to cm:person type, in share configuration I'm using the authority.ftl template to display it, how can I limit the available users to select from down to the members of one group ?
相关问题
- Error in calling CMIS Query if String contains sin
- Packages not defined
- Packages not defined
- Javascript code is not working in property page po
- Transfer content from one Alfresco instance to ano
相关文章
- How to setup alfresco jlan file server as a standa
- what is type and aspect in alfresco?
- How to get Acls of a document?
- How to create site in share programmatically?
- Alfresco share login issue
- How to call synchronous ajax call in alfresco?
- Disable the user home folder creation
- CmisObjectNotFoundException when trying to access
There s a few changes that I needed to do in order to achieve this:
You should pass a parameter to your authority.ftl in your share modules config file using a new control param:
In alfresco\web-extension\site-webscripts\org\alfresco\components\form\controls\authority.ftl, pass this param to the js picker:
You can create a new control based on that authority.ftl and authority-finder.js, in which you modify the webscript call to a limited number of users to be returned !
Note : If the webscript doesnot support maxItems parameter (or any other parameter to limit the number of results returned), you can always create your brand new webscript that supports that feature and then point your new control at it.