Salesforce Fact #591 | Updating custom Geolocation fields from LWC

Similar to retrieving, we can also update custom Geolocation fields from LWC. We need to refer the latitude and longitude value separately suffixed with '__s' since it is a compound field.

In this example, we are updating a Geolocation field on Account taking the input from LWC.

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow