Skip to main content
Newcomer
April 4, 2023
Solved

Clear combo box selected elements

  • April 4, 2023
  • 1 reply
  • 0 views

I created a combo box in a dashboard and the combo box is associated with a parameter that provides a considerable list of elements for selection. The user would like to have a button to clear all the selected elements as needed.

Would you know of any alternative to clear the selected elements from the combo box?

Thank you for all the help.

 

Best answer by ChristianW

You can do it with a simple dashboard extender business rule.

1 reply

OneStream Employee
April 5, 2023

You can do it with a simple dashboard extender business rule.

Expert
April 5, 2023

I agree but I tried and it is not working.  the below is the code in the ComponentSelectionChanged not sure what am missing.  IN the below code I am passing 2 parameters one is the ComboBox Name and the other is the empty string.

 

 

 

selectionChangedTaskResult.ChangeCustomSubstVarsInDashboard = True
selectionChangedTaskResult.ModifiedCustomSubstVars.Add("cb_CC","")

OneStream Employee
April 5, 2023

Did you return the selectionChangedTaskResult at the end?

Did you refresh the dashboards containing the drop-down boxes?