cancel
Showing results for 
Search instead for 
Did you mean: 

Surf connecting to repository

jcobb
Champ in-the-making
Champ in-the-making
Have been playing with surf and studio. Thanks in particular to Benh and the tutorial at http://www.benh.co.uk/alfresco/surf-part-1-getting-started/ and edlovesjava at http://edlovesjava.blogspot.com/2008/12/extending-share-1-creating-share.html etc.

Does anyone have an example script to pull in content from the alfresco repository? I've started looking through the studio scripts (web-framework-remote-api.js, support.js, component.js) for some pointers, but would be really great if someone could give a simple example script to connect to a local alfresco repository via the api and return a space or document, so that those of us who are used to dealing with a model in repository webscripts can leap into the surf…

James Cobb
2 REPLIES 2

ben
Champ in-the-making
Champ in-the-making
Hi James,

Im working on some examples however they use Web Scripts, so Im not sure how much use they will be to you.  I will post in this forum once they are complete.

Regards, Ben.

ben
Champ in-the-making
Champ in-the-making
Hi James,

Link as discussed - http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/

Regards, Ben.