Default Value in Dropdown in UI Builder

SoudarapuN
Tera Contributor

Hi Team,

I have a requirement in UI Builder where I need to set a default value for a dropdown. I was able to display the default value using the selectedItems property,

community timeframe.png

but the issue is that the data in the charts or visualizations is not reflecting this default selection.

The dropdown visually shows the default value, but the actual data shown is as if no filter is applied—it displays all records.

community 1.png

How can I ensure that the default dropdown value also impacts the data (e.g., charts, lists) accordingly on initial load?

 

Any help is appreciated. Thanks!

Thanks in Advance.

2 REPLIES 2

SANDEEP DUTTA
Tera Patron
Tera Patron

Hi @SoudarapuN ,

Please use this solution for your requirement :

Solved: Set default option for a dropdown on the UI Builde... - ServiceNow Community

 

Thanks,
Sandeep Dutta

Please mark the answer correct & Helpful, if i could help you.

SoudarapuN_0-1750401976435.png

I already did it .I said that it showing in dropdown as default value. But the data visualizations are showing all data instead of default value data.