Latitude and Longitude Display Notation for Geolocation Field Salesforce

The latitude and longitude display notation for geolocation field Salesforce is represented using the decimal notation. This decimal notation expresses the latitude and longitude coordinates as decimal fractions.

For learning this process, you have come to the right place. We learned this topic in both the editions of Salesforce Lightning and Salesforce Classic.

How to Set Latitude and Longitude Display Notation for Geolocation Field in Salesforce Lightning

Here, we will learn how to set the longitude and longitude display notation for the geolocation field in Salesforce Lightning.

Let us take an example: suppose there is a retail company that operates multiple stores across different cities. The company uses Salesforce to control the location of the stores and analyze the data of the customers.

Here, the company wants to track the geolocation of its stores using the stored latitude and longitude coordinates. They also want to show these coordinates in a format that is easy for their employees to understand and work with.

Here are the following steps:

1. Click on the Gear icon, click on the Setup, Select the Object Manager tab, Enter the Store in the Search Box, and Select the Store Object.

How to set the latitude and longitude display notation for the geolocation field in Salesforce

2. Now click on the field and relationship option. Create a new field. To do this, click on the new button. Here, select the geolocation data type.

See also  How to Promote Existing Multi-select Picklist Field Value as Global Value Set on Salesforce

Now, enter the details. First, fill in the field label as Store Location and then select the latitude and longitude display notation, and then fill in the Decimal Places as 4. Click on the save button.

How to set the latitude and longitude display notation for the geolocation field in Salesforce Lightning

3. Now establish the field-level security. Now select the profiles we want to grant edit access to this field via field-level security. Click on the next button.

Set the latitude and longitude display notation for the geolocation field in Salesforce

4. Now, add the custom field to the page layoutSelect the page layout that should include this field. It will be added as the last field in the first two-column section of this page layout. Click on the save button.

Set the latitude and longitude display notation for the geolocation field in Salesforce Lightning

5. Go to the app launcher and enter sales in the search box. Select sales, the sales page will open, and then select the Store object in the nav bar.

11. The Store object record page is open. Here, we create a new record. Click on the new button. We can enter the Store name and then enter the Store location, first enter the Latitude, then fill the longitude, and then click on the save button.

Salesforce set the latitude and longitude display notation for the geolocation field

6. The retailing store record was created, and here, we can track the geolocation of its stores using the latitude and longitude coordinates stored in Salesforce.

Salesforce Lightning set the latitude and longitude display notation for the geolocation field

This way, we understand how to set the latitude and longitude display notation for the geolocation field in Salesforce Lightning.

How to Set Latitude and Longitude Display Notation for Geolocation Field in Salesforce Classic

Here, we will set the latitude and longitude display notation for the geolocation field in Salesforce Classic.

See also  Configure Dashboard Data Visibility in Salesforce

Consider a scenario: Suppose there is a real estate agency that uses Salesforce to control its property listings and client information. The agency deals with properties located in different neighborhoods and cities and depends upon accurate geographical data to match clients with suitable properties.

Here, the agency has a custom object called properties, where the agency member stores the information about each property, including its address, latitude, and longitude coordinates.

Here are the following steps:

1. Click on the Setup option –> Enter the Objects in the Quick Find Box –> Select the Property object on the custom object page.

How to set the latitude and longitude display notation for the geolocation field in Salesforce Classic

2. Here, we can see that the Fields and Relationships option is present. Click on that. We want to create a new field; for this, click on the new button. Here, we select the geolocation data type and then click on the next button.

The Property new custom field page opens. Now, enter the details. First, fill the field label as Property Location and then fill the Decimal Places as 5. Click on the next button.

Set the latitude and longitude display notation for the geolocation field in Salesforce Classic

3. Now, add the custom field to the page layout. Select the page layout that should include this field. Click on the save button.

How to set latitude and longitude display notation for the geolocation field in Salesforce Classic

4. Go to the Home tab. Click on the property tab, which opens our property object page. On this page, we can see many property records. Here, we want to create a new record, so we click on the new button.

Our new property page is open. Now enter the information: first, fill in the property name and then the address. Then, fill in the property location latitude and longitude and click on the save button.

Set latitude and longitude display notation for the geolocation field in Salesforce Classic

5. The lease property record was created and here we can track the geolocation of its property.

Salesforce Classic set the latitude and longitude display notation for the geolocation field

This explains how to set the latitude and longitude display notation for the geolocation field in Salesforce Classic.

See also  How to Set Default Value for Email Field in Salesforce

Conclusion:

I hope you read the entire article and get a clear idea of how to set the latitude and longitude display notation for the geolocation field in Salesforce. 

I have also explained all the steps of setting the latitude and longitude display notation for the geolocation field in Salesforce Lightning and Salesforce Classic.

You may like to read: