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
jalexanderjalexander 

Update Account record in Lightning with URL form data from my website?

I have a custom HTML form (on my website) that updates the Lat/Lon text fields on the Salesforce Account record.
  • It worked fine in Classic but now in Lightning it just opens up the record "without" my custom Lat/Lon" values populated?
Here is my URL that I'm passing in:
  • https://company.lightning.force.com/lightning/_classic/
    %2Fa1AU0000003y72TMAQ
    %2Fe%3Faccount
  • %3DJohn%2BBrown
  • %2600NU0000003rV68 (in Classic, this is the Lat field)
    %3D37.73533214243016
    %2600NU0000003rV6I (in Classic, this is the Lon field)
    %3D-88.53832679688946
    %26updateAccountLatLng
    %3DUpdate
    %2BSalesforce
    %2BLocation%253F
How do I make it work in Lightning?
  • I need it pass those two Lat (37.73533214243016) & Lon (-88.53832679688946) values into the Account Update page.