Skip to the content.

Back To Home

Advanced Configuration

Obtaining a Google API Key

Getting Started with Google Maps Platform

Get Google Maps API Key

Using Google API Key

Paste API key into the Google box in the FirmWorks Geo Configuration screen Google API Key

Understanding the Provide Screen

Here is a quick overview of the sections of a provider screen

API Key - This is th API key for needed for the geocoding integration your class is integrating with. For the Preexisting USCENSUS_GEOCODE provider you will not need an API Key.

APEX Class Name - This is the name of the apex class that is integrating with your geocode provider. Out of box we provide a class to integrate the with US Census API and the Google Geocoding API. The latter will only work if you have a Google Geocoding API Key which can be obtained byt following the steps here.

Is Active - This will mark the provider as the active geocode provider for FirmWorks Geo. Only one provider can be active at a time.

Setting up FirmWorks Geo Custom Configurations

FirmWorks Geo Custom Configurations are made up of 4 different parts.

FirmWorks Geo Search Configuration

FirmWorks Geo Search Config

In this section you will need to do a few things to get the configuration started.

Salesforce Object Name: This is the first section you will need to set. This wills et the context for the rest of the configuration.

Options Display Name: This is the name that will show up in the FirmWorks Geo Search Component.

Latitude and Longitude Fields: In this section you will need to set three items. These will allow FirmWorks Geo to know which of hte objects Address fields you want to use for to Lat and Long.

Sort Order: The order you want to show this Configuration in the FirmWorks Geo Search component if there are more than one configurations.

Record Filters: This allows you to create one or more filters you can reference when this Configuration is chosen in the FirmWorks Geo Search component. It is made up of two parts.

https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_conditionexpression.htm

FirmWorks Geo Map Component Display Options

FirmWorks Geo Map Display Options

This section is use to set the Label and detail value for the popup that shows when you click a map pin as see in the image below. You can choose from any of the fields from the object chosen in the FirmWorks Geo Search Configuration Section above.

FirmWorks Geo Pin Details

FirmWorks Geo List Component Options

FirmWorks Geo List Component Options

This section allows you to set the columns you see in the FirmWorks Geo List Component.

FirmWorks Geo List Column Example

Field Name - This is the field from the Object selected in the FirmWorks Geo Search Configuration you want to source data to the column.

Label - This allows you to set a column label.

FirmWorks Geo List Component Data Download Options

FirmWorks Geo List Component Data Options

This section will let you map the fields and columns you want to be present when the data is downloaded from the FirmWorks Geo List Component’s Download button.

FirmWorks Geo List Component Data Example

Field Name - This is the field from the Object selected in the FirmWorks Geo Search Configuration you want to source data to the column.

Label - This allows you to set a column label.