Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to use Button Set to highlight the field value from REST

edited Jul 14, 2020 2:41AM in Visual Builder 4 comments

Summary

How to use Button Set to highlight the field value from REST

Content

Hi,

We have requirement to show two flag icons(red & Green button) on UI and it is tied to a single boolean field from REST API.

In the VBCS application we want to tie the data from the boolean field from REST API with the button set such that if the Field is Y then highlight Green button. if the Flag value is N then highlight Red Button.

If user click on Red button then set the field value to Y . if User click on Green button then set the field value to N. To achieve this we have written below code. But it is not working at all. Infact we are getting blank screen after adding this code.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!