UI Builder - Component Visability

SomaP
Tera Contributor

We want a calendar component to display information about upcoming deadlines related to our BCM activities. Ideally, we want one calendar component to display information from 3 tables, however one calendar component cannot draw data from multiple tables (please tell me if I am wrong). 

 

As a workaround, I have set up 3 calendar report components in UI Builder and mapped a Client State Parameter to each one. There are 3 buttons corresponding to each calendar component. Upon click, the buttons change the client state parameters so the user can cycle through them. Ideally, each button sets 2 to false and 1 to true to cycle between the components because each calendar component has a different visibility condition. 

 

I have tried this initially with 2 components for simplicity, but hiding the components via switching their respective client state parameters back to false does not work. I then created two buttons for controlling one component's visibility for further checks. A button for show which sets it to true and a button for hide with sets it to false. Setting the client state parameter to false does not hide the component, even when the visibility conditions specifies to hide when set to false. It works perfectly fine to show but not to hide. Why is this? 

 

Please see screenshots. 

SomaP_0-1741614338691.png

SomaP_1-1741614378752.png

SomaP_2-1741614416237.png

Just to reiterate if unclear - if default value is false, then the show calendar button works to display the component. If the default value is true, then the hide calendar button does not work to hide the component. 

0 REPLIES 0