cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript API....

kwantm
Confirmed Champ
Confirmed Champ
Hi,

I would like to know if there is a javascript API reference manual or some sort of javadoc available? The wiki does not provide enough detail.

regards,

Marc
4 REPLIES 4

kevinr
Star Contributor
Star Contributor
What additional detail you need? The Alfresco book has a section on the JavaScript API. The wiki page has many examples which help a lot, and there are many examples in the 'Scripts' folder of an Alfresco installation. I haven't seen many Javadocs that provide more detail than that wiki page…!

Kevin

kwantm
Confirmed Champ
Confirmed Champ
hi,

thank you for the quick reply. what I would like to have is a exhaustive reference of all usable objects and their properties (like userHome, space etc..).

furthermore I would like to know the exact syntax on how to use the objects and their properties.

I refer to JavaDoc, because such a document specifies the above (in case of a java project).

Is there such a document/reference manual?

regards,

Marc

kevinr
Star Contributor
Star Contributor
The wiki page does contain the list of all available Alfresco JavaScript objects and their available methods and properties. What it does not have is all the available repository properties on individual nodes - that is not part of the JavaScript API - it is part of the Alfresco content model. Take a look at the content model XML files (particularly contentModel.xml) in here:
https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/al...

Hope this helps,

Kevin

kwantm
Confirmed Champ
Confirmed Champ
Again thanx for the rapid reply. I think i have a good idear on what can and cannot be done.

regards,

Marc