Question
Adding and removing the record by click on button in menu and button name should change to vise versa on click of it.
Hi Team,
I have requirement to implement that,
1.I have a menu configured on click of down arrow in section, In the menu list there is a button, by default the button label should read to "Add to Favourites" once user click on it, the button name should automatically revert to "remove from favourites".
Added screenshot for reference.
Can you please help me that, is there any OOTB functionality available or any suggestions on the requirement.
Thanks in Advance.
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
Hi,
I think the approach is to hide the visibility of your "Add to favourites" button and then have another button called "Remove from favourites"
There should be visibility conditions on both buttons. "Add to favourites" should be visible when item is not favourited. "Remove from favourites" should be visible when item is favourited.
Thanks,
Dan