Scripts
-
Many months ago, I had help getting a global js working that would return the shortid of the report.
That was here: https://forum.jsreport.net/topic/391/global-javascript-file-and-handlebar-helpers/34
I have updated to v2 and now that isn't working again. Has the playground been updated? The previous link to the playground works for this but I can't get it to work locally in v2.
Thanks!
-
one of the breaking changes of v2 is this, since your old script is using
if (req.options.isChildRequest)you need to update that toif (req.context.isChildRequest). remember to review all breaking changes first when analyzing why something does not work in v2.