Hi All,
I have a JSL script that lets the user choose one or more data files and then concatenates these files together into a data table. The script then creates a dashboard for the data table.
To generate the JSL for the dashboard, I first manually created a dashboard (File -> New -> New Dashboard), adding manually-generated graphs to it in the Dashboard Builder; I then copied the dashboard code from the Dashboard Builder (red arrow -> Save Script -> To Script Window) and pasted it at the end of my JSL script.
This all works great -- however, my goal is to save the generated dashboard to the Scripts panel of the data table, in the same way that choosing red arrow -> Save Script -> To Data Table from the Dashboard Builder will save a dashboard to the data table. I'd also prefer to not have the dashboard appear automatically (the user should click it in the Scripts panel when they want to see it).
I've tried searching the JSL reference PDF and the community discussions, but haven't found what I need. Can anyone point me in the right direction? Sanitized code is attached, omitting the data table generation.
Thanks!
Andy