function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sid LightningSid Lightning 

Update Field in external system when Account field gets updated in Salesforce? It would be helpful if its on a click of button

Hi,

I want to update external system , with the fields that are updated on account ?

Basically , what I require is an update Account button on Account screen, which updates fields in external system on click.

I understand its through REST APi , but i somehow dont know how to code for it


 
Himanshu.SFDCHimanshu.SFDC
Hey Sid,

I have achieved this functionality by creating a custom VF page and controller , that will make callout on external system.
You need to add a custom detail page button with content source URL and call that VF page with passing account id in URL. Rest functionality will be done on controller side like fetching account data and passing as callout parameter.

 User-added image
Sid LightningSid Lightning
The API , i believe is already made.. I just want to update it.. Can you jelp me with the rest code for it
Sid LightningSid Lightning
Hi,

Can you please help
Sid LightningSid Lightning
Can you plese help with the code then?