cancel
Showing results for 
Search instead for 
Did you mean: 

Create groups

pacozf
Champ in-the-making
Champ in-the-making
Hi,

First excuse my English,

It possible to create group via webservice with alfresco 2.1, I don´t found enough information about this.

thank
3 REPLIES 3

bedn
Champ in-the-making
Champ in-the-making
Hi,

do you got any info about this?

It seems like nobody has tried this before.

thank,

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

I'm afraid it is not currently possible to create a group using the web service API.

Perhaps an alternative route would be to create a web script to do this for you?

Cheers
Roy

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

If you are looking for another option and comfortable writing custom actions,
you could write an action to manage groups and call the action via webservice API.

With 2.1 actions do return additional parameter "result"  in the NamedValue[] below which you can make use of.

ActionExecutionResult[] results = actionService.executeActions(predicate, new Action[]{action});
          
              NamedValue[] values=results[0].getActions()[0].getParameters();

You could find more on custom actions at the below link.


http://wiki.alfresco.com/wiki/Custom_Actions

         

Best Regards,
Shagul Khaja