cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the content using webscript or javascript API

tamilraj2003
Champ in-the-making
Champ in-the-making
I am evaluating Alfresco Community Edition 2.9B.

I have created a web project and using few web forms I have created my content XML files. I don't want to use the alfresco rendition capability in the 'create content' wizard, instead I want to create my HTML output by parsing the content deployed to my LIVE repository. 

I am planning to use web scripts. Is it possible to access my repository content from web script? if so how. (There is no details on http://wiki.alfresco.com/wiki/Web_Scripts about this)

Also is it possible for me to get the JavaScript API, like regular JavaDoc (with frames, indexes) instead of http://wiki.alfresco.com/wiki/JavaScript_API#Modifying_and_Creating_API. I am trying to see how to do content reading, I couldn't find it there.
2 REPLIES 2

pmonks
Star Contributor
Star Contributor
Web projects are implemented using the AVM repository implementation, which has a corresponding AVM API.  The Javascript version of this API is documented at http://wiki.alfresco.com/wiki/JavaScript_API#AVM_API.

tejashpatel
Champ in-the-making
Champ in-the-making
HI

It is possible both way

you can create java based webscript and use contentservice api.


Also is it possible for me to get the JavaScript API, like regular JavaDoc (with frames, indexes) instead of http://wiki.alfresco.com/wiki/JavaScript_API#Modifying_and_Creating_API. I am trying to see how to do content reading, I couldn't find it there.

Regards,
Tejash Patel
Cignex Technologies Inc.