cancel
Showing results for 
Search instead for 
Did you mean: 

Share Webscripts

rdifrango
Champ in-the-making
Champ in-the-making
Is there a way to interact with Alfresco Share sites via webscripts?  If so where is it documented?
6 REPLIES 6

mikeh
Star Contributor
Star Contributor

rdifrango
Champ in-the-making
Champ in-the-making
I found the following as well, that is a start:

http://wiki.alfresco.com/wiki/3.0_JavaScript_Services_API

Is there a way to interact with the Wiki/Blog section via REST or Webscripts?

mikeh
Star Contributor
Star Contributor
Is there a way to interact with the Wiki/Blog section via REST or Webscripts?
Yes, because that's exactly how Share does it.

Rather than going through wiki pages, it would probably be more beneficial to get the Share source code and have a poke around at how we do it.

Thanks,
Mike

rdifrango
Champ in-the-making
Champ in-the-making
Is the Share source code available?

mikeh
Star Contributor
Star Contributor
It's all in SVN under the Slingshot project.

Thanks,
Mike

rdifrango
Champ in-the-making
Champ in-the-making
Mike,

So I got the site creation working when I directly call the Alfresco '/api/sites' service.  The only thing I noticed is that it does not create the Share layer so that it is available there.  So I attempted to '/modules/create-site' service that lives within Share and I got a 401 error.  Is there any other way to create the WebUI layer in Share?

Thanks,

Ron