getchildren from with sandbox via rest api
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2009 11:58 PM
Read the wiki (http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference). Re read the wiki. Spent many a day googling and looking over this forum.
Why does this not return a 'collection' of child nodes?
According to the documentation, it should. Yes there are nodes in the 'testfolder' folder.
Why does this not return a 'collection' of child nodes?
http://localhost:8080/alfresco/service/api/node/avm/test-site--admin/-1;www;avm_webapps;ROOT;testfol...
According to the documentation, it should. Yes there are nodes in the 'testfolder' folder.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2009 04:49 AM
hi
according to restful architecture or design. It will return the collection in the java script of JS (Controller)file of your web script. this you need to add it to the model
Regards,
Maruti
according to restful architecture or design. It will return the collection in the java script of JS (Controller)file of your web script. this you need to add it to the model
model.results=collection
and utilize the same in freemarker(View) file user variable"results", and you can make a response in JSON,HtmL, or XML.Regards,
Maruti
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2009 11:23 PM
Cheers for that. I am not aiming to utilise this functionality in a web-script. Just keen to see results return via the web browser for the time being.
Is that the idea? They both don't return a 'collection'.
http://localhost:8080/alfresco/service/api/node/avm/test-site--admin/-1;www;avm_webapps;ROOT;testfol...http://localhost:8080/alfresco/service/api/node/avm/test-site--admin/-1;www;avm_webapps;ROOT;testfol...
Is that the idea? They both don't return a 'collection'.
