cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to the repository with Web Scripts

a_band
Champ in-the-making
Champ in-the-making
I'm going to be building a dynamic site in Alfresco using the WCM. I would like to extend the WCM interface for less tech-savvy users and present simpler web forms for them to fill out to submit content to the repository. Is there a way I could use Web Scripts to do this?

I've only seen examples of Web Scripts reading from the repository. It would be excellent if someone could point me to an example of a Web Script writing to the repository.

Or is it even possible?
1 REPLY 1

davidc
Star Contributor
Star Contributor
You have full access to the Javascript API (http://wiki.alfresco.com/wiki/JavaScript_API) which provides both read and write operations.

There's a simple example of write at

http://wiki.alfresco.com/wiki/Web_Scripts_Examples#File_Upload