UI Builder: Reuseable client script for Link to Destination Event Handler

r-r
Tera Contributor

I'm building a workspace in UI Builder, and it has a LOT of data visualizations (different types) that all need to have the same Link to Destination event handler applied. Not finding another solution, I crafted a script and went through and applied it to each visualization one by one to get it done, but now there's a change (of course).

 

So what I'd like to do is take everything from my Link to Destination script:

rrodgers_1-1706895571463.png


And put it inside a client script, and fire that instead:

 

rrodgers_0-1706895429454.png

It could never be that easy of course, so it didn't work. I'm assuming there's a lot more going on in the background when you select a Link to Destination event.

 

Is there a way to make this work, OR an alternative way of templating/applying the same event handler script to multiple visualisations, or are we just expected to do it one by one?

1 REPLY 1

r-r
Tera Contributor

Bump?