+ Start a Discussion
Manjunath SC 18Manjunath SC 18 

how to use lwc components to save the button states(Booked/Availabe) in the opportunity object

hello Trialblazers

how are you all

i need help regarding lwc, i am working on the real estate project, i have a UI in opportunity detail page, whenever i click on one of those buttons, the same should showcase on the related object detail page(Appartments), i have been advised that this can be done by saving a button states in the opportunity object and javascript needs to be used, can anyone please suggest how to achive this??

below is my snapshot of UI buttons
User-added image

Appartments