cancel
Showing results for 
Search instead for 
Did you mean: 

Webscript to generate HTML and render it as pdf

shikarishambu
Champ in-the-making
Champ in-the-making
Hi,
I would like to use Alfresco as the store for our communication templates (Freemarker). I want to create a webscript that my web application will use to
pass data to the html.ftl and have it render it as html and pdf. Is it possible to use Alfresco's capabilities to render content as pdf from within a webscript?

TIA
2 REPLIES 2

rogier_oudshoor
Champ in-the-making
Champ in-the-making
You could render as XML instead, and use XSL and XSL-FO to render from XML to HTML & PDF.

shikarishambu
Champ in-the-making
Champ in-the-making
Yes, I could. I want to see if there is a way to use the render functions within Alfresco to do it. This way I am not repeating this render stuff everywhere and Alfresco becomes my master document delivery service