Rename scripts placed in Ready

Hello,

I’m wondering if anybody knows how to rename a script that’s placed on the dashboards Ready section?
I know how to rename a script attached to a button, etc but that doesn’t seem to be the route for a script placed in the Ready section.

Thanks in advance!

Hey Daniel,

Unfortunately, in the current version of Dundas BI (version 5.0.1), it’s not possible to rename scripts in the Ready action on the dashboard.

That being said, this is something that will be implemented in version 6, which, by the way, is just around the corner! You’ll be able to participate in our version 6 BETA here, in The Cube, sometime within the next month (roughly).

So hopefully you can wait till then :slight_smile:

There will be more announcements shortly on the version 6 BETA and how to participate, so stay tuned.

2 Likes

I don’t want to start a fight with Jordan :wink: but it is possible to do in version 5.

  1. Place a button on the canvas and set the on click script to ‘debugger;’
  2. In the view mode (not edit and not sandbox mode) go to the debugger console by pressing F12 in Chrome.
  3. Press the button that you created in step 1.
  4. You will need to know the index of the ready script that you want to rename. This should be in the order that you created them, starting from 0. You can also type ‘this.baseViewService.currentView.control.readyActions’ into the console to look for it.
  5. Type ‘this.baseViewService.currentView.control.readyActions[0].friendlyName = “name”;’ into the console, replacing 0 with the index from step 4, and replacing ‘name’ with the name you want to use and press enter.
  6. Go back into edit mode and delete the button from step 1.

Well, I stand corrected! @daniel.yep, David is very much so correct :slight_smile:

1 Like

My Take is that the right click rename is not in version 5 but will be in version 6.