Add groups to site with webscript

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2014 02:45 PM
Hi,
i want to ask is it possible to write a webscript that adds groups to sites?
Thanks
Best regards
i want to ask is it possible to write a webscript that adds groups to sites?
Thanks
Best regards
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2014 12:35 AM
It looks like when you say add groups to site that means you want to invite the group to the specific site.
If that is the case then you can take a look at the out-of-the-box webscript to add membership to the site.
Here is the location of description file for the webscript in your alfresco installation directory.
tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\site\membership\memberships.post.desc.xml
Hope this helps.
If that is the case then you can take a look at the out-of-the-box webscript to add membership to the site.
Here is the location of description file for the webscript in your alfresco installation directory.
tomcat\webapps\alfresco\WEB-INF\classes\alfresco\templates\webscripts\org\alfresco\repository\site\membership\memberships.post.desc.xml
Hope this helps.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2014 11:36 AM
thanks
