You need to sign in to do that
Don't have an account?
trailhead solutions 10
custom button --field update
Hello
I have a custom button. On clicking on that, a field update with checkbox true has to be done. How this can be done with Apex and VF. Any code, Please suggest.
Thanks
TS
I have a custom button. On clicking on that, a field update with checkbox true has to be done. How this can be done with Apex and VF. Any code, Please suggest.
Thanks
TS
In case if you are just trying to update only that particular field that you can try checking the below link :
>> https://www.jitendrazaa.com/blog/salesforce/create-and-update-records-using-javascript-button-in-salesforce-ajax-toolkit/#:~:text=Navigate%20to%20%E2%80%9CCustomize%20%7C%20Accounts%20%7C,content%20source%20%E2%80%9COnclick%20JavaScript%E2%80%9D.&text=Add%20this%20newly%20created%20button,and%20will%20update%20current%20record.
I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be useful for others in the future.
Regards,
Anutej
I achieved this through launching a flow and adding a action on detail page.
Anyways, thanks a ton for your response on sharing solution.
Thanks
TS