0 Replies Latest reply on Jun 6, 2014 2:51 PM by jdevtech

    How do I create a Coldfusion Report/cfreport from inside cfscript?


      Hey team,


      I'm currently using CF9 and I'm writing code in an external .CFC component (in cfscript) and I'm trying to create a cfreport (or a Coldfusion Reports Builder equivalent) using only cfscript.


      I have accomplished the creation of a cfreport in an external .cfm page using the syntax <cfreport format="PDF" template="templates\templateA.cfr" query="#dataRecordset#"> and I am essentially trying to replicate this using only cfscript. Has anyone accomplished this before? Please help! Thanks! =)