cancel
Showing results for 
Search instead for 
Did you mean: 

javascript api

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello,

i would like to define a rule that add an image to a openoffice document. The javascript api doesn't seem to be able to manipulate binary files. Does the object document can be manipulated by other api?
1 REPLY 1

kevinr
Star Contributor
Star Contributor
I'm not sure - maybe the Open Office Java libraries support manipulating the documents directly? If not there may be other open-source libraries available that can do this.

In Alfresco 1.4 the JavaScript API can execute repository "actions". This means you could write a custom Java action making use of the appropriate library, add it to the repository and then call it from Alfresco JavaScript.

Thanks,

Kevin