cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to submit content to WCM using web-scripts?

meetkenepps
Champ in-the-making
Champ in-the-making
One of the ways of creating content in WCM repository is using XSD backed web-forms.

The authors of my web-app do-not like that not-so-shiny web-client interface and want a custom form inside some other application and want to create content using that.

I am wondering if I can make use of a web-script to create content inside the WCM repository. I know that is possible in a DM repository, but since I am discovering many things which are possible in DM but not in WCM, so I just wanted to check on this.

Are there any other ways of creating the content programmatically i.e. without using the web-forms interface?

-Ken
1 REPLY 1

pmonks
Star Contributor
Star Contributor
Absolutely!  This is a pattern that's in use by several production Alfresco implementations (that I'm aware of - there are probably many more that I'm not aware of!), and is also how ADW has been implemented.

In fact one of the more interesting twists on this pattern is an implementation that exposes the repository via Web Scripts that "speak" ActiveResource (http://rubyforge.org/projects/activeresource/), allowing the client UI to be implemented in idiomatic Ruby on Rails.  One of the justifications for using this pattern is that implementing custom form-based UIs in RoR is apparently a lot faster / easier / cheaper than in other webapp technologies (I say "apparently" only because I've not implemented anything serious in RoR, so haven't experienced its acclaimed productivity benefits myself  :winkSmiley Happy.

Cheers,
Peter