Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to dynamically change single score data visualization component based off drop down component in UI builder.

KushalT
Tera Contributor

Hello,

I have a requirement to display a location drop-down at the top and all the single score data visualization components should get updated whenever a user will select any value in the drop-down component.

For instance: If a user will select Location as Albury then all the single score components should display tasks belonging to the Albury location only. I am able to dynamically update the simple list component based on the selection of drop-down values but I am not quite sure how to achieve this one. Any idea how to achieve this requirement?

 

Thanks in advance.find_real_file.png

 

 

7 REPLIES 7

I had the same problem as @Vasantharajan N to solve and your scripts are the perfect solution for it.

Could you provide a script for changing the presentation especially the colors of the data visualization? 

 

Bildschirm­foto 2023-01-04 um 14.37.27.jpg

I have tried using the script in data sources, but it is not working. Can you help me?

 

Note : I doubt 'script' option in data sources itself is not working because i tried with console.log but there is no output.