AnsweredAssumed Answered

Share same freemarker template across multiple WebScript

Question asked by soldiertt on Apr 4, 2014
Latest reply on Apr 9, 2014 by aaditvmajmudar

I have an application where a lot of webscript are listing always the same json output (an array of documents and their properties).
So, i need to have different business logic that renders always the same output.

So, i'm copying over and over the same webscript.get.json.ftl file for every webscript.

Is there any way to reuse the same freemarker file for output ?

Thank you