Posts

Showing posts with the label Geolocation

Salesforce Fact #679 | Geolocation field limit

Geolocation is a compound field that count towards the org's limits as three custom fields: one for latitude, one for longitude and one for internal use. Reference:  https://help.salesforce.com/s/articleView?id=sf.custom_field_geolocate_overview.htm&type=5

Salesforce Fact #591 | Updating custom Geolocation fields from LWC

Image
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.