Embedded script question

Posted by: thread77 on 3 August 2017, 3:22 pm EST

  • Posted 3 August 2017, 3:22 pm EST


    I have some reports that contain vbscript for doing some behind the scenes logic. I would like to know if vbscript that is embedded in a report is run outside the report viewer or must the report be run inside the viewer. For example, I would like to use the report runtime and render my report directly to PDF and not use the report viewer at all. If I do this, will the embedded script or scripts not get run?

    Thank you!

  • Replied 3 August 2017, 3:22 pm EST


    It is not necessary to load a report using scripts into the viewer so as to execute the scripts. You can directly use the ReportRuntime to export your report to PDF. The scripts would run and generate the expected results in the report.

    Please have a look at the attached sample that accomplishes the same. Hope it helps.

    Manpreet Kaur

  • Replied 3 August 2017, 3:22 pm EST

    Thank you that worked great!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels