Integration with Web Map Services: Implementation Activity
The following activity will help you set up integration with the Google Maps web map
service.
Tip: You can perform similar steps to set up integration
with Bing Maps instead.
Story
You, as administrator, need to set up integration with the Google Maps web map service to give users the ability to add new addresses, update existing addresses, and fill in the missing address information of a company or a person.
Process Overview
In this activity, you will do the following:
- Define the Google Maps address provider on the Address Providers (CS103000) form.
- Check the connection of MYOB Acumatica with the address provider.
- Select this address provider on the Site Preferences (SM200505) form.
- Optional: Select this address provider on the Portal Preferences (SP800000) form of the MYOB Acumatica Customer Portal.
System Preparation
Before you start setting up integration with an address provider, you need to do the following:
- Complete registration in the Google Maps web map service and obtain an API
key.Tip: You get the API key on either of the following websites:
- Launch the MYOB Acumatica website, and sign in as an administrator.
- On the Enable/Disable Features (CS100000) form, enable the
following features:
- Customer Management: Provides the customer relationship management (CRM) functionality, including lead and customer tracking, as well as the handling of sales opportunities, contacts, marketing lists, and marketing campaigns.
- Address Lookup Integration: Provides the address enrichment functionality, which gives users the ability to add new addresses, update existing addresses, and fill in the missing address information on all the forms that have address information.
Step 1: Creating an Address Provider Based On the Google Maps Plug-In
To create an address provider based on the Google Maps plug-in, do the
following:
Tip: You can similarly create an address provider based on
the Bing Maps plug-in.
- Open the Address Providers (CS103000) form.
- On the form toolbar, click New Record
- In the Provider ID box, specify the identifier for the Google Maps address provider, such as GOOGLE MAPS.
- In the Description box, specify the description of the address provider, such as Google Maps web map service.
- In the Plug-In box, select the Google Maps plug-in. On the Plug-In Parameters tab, the system adds to the table the rows that have the API KEY and COUNTRIES identifiers.
- In the row that has API KEY as its identifier, in the Value column, enter the API key you have received.
- In the row that has COUNTRIES as its identifier, notice the default
values in the Value column, which are the ISO 3166
country codes (that are supported by Google Maps) separated by commas. The
system will be searching for addresses in these countries.Attention: For Google Maps, you can specify up to five country codes; for Bing Maps, you can specify one country code.
- Optional: Make any needed changes to the selected country codes.
- On the form toolbar, click Test Connection to check the connection with the address provider. If the connection is successful, the system opens the Settings dialog box.
- In the dialog box, click OK.
- In the Summary area, select the Active check box to make the address provider available for use in the system.
- On the form toolbar, click Save.
You have created an address provider based on the Google Maps plug-in.
Step 2: Selecting Google Maps as the Address Provider to Be Used
To select the Google Maps web map service you have created as the address provider to
be used in the system, you need to select the address provider in the preference
settings of the MYOB Acumatica website. Do the following:
Tip: You can similarly select the Bing Maps
web map service as the address provider to be used in the system.
- Open the Site Preferences (SM200505) form.
- In the Address Lookup Plug-In box of the Summary area, select GOOGLE MAPS, which is the address provider that you have created in the previous step of this activity.
- On the form toolbar, click Save.
Tip: On the Site Preferences (SM200505) form,
you can create, set up, and select an address provider as well. If you had opened
this form before defining the address provider, you could have clicked the Edit
button right of the Address Lookup Plug-In box; the system
would have opened the Address Providers (CS103000) form in a pop-up
window, in which you could specify the settings that you have specified in Step 1 of
this topic.
You have selected the Google Maps web map service as the address provider to be used by the system. Now the address enrichment functionality is available to the users.
Step 3: Selecting Google Maps as the Address Provider in the MYOB Acumatica Customer Portal
To select the Google Maps web map service as the address provider to be used in the
MYOB Acumatica Customer
Portal, do the following:
Tip: You can similarly select the Bing Maps web map
service as the address provider to be used in the Customer Portal.
- Open the Portal Preferences (SP800000) form.
- In the Address Lookup Plug-In box of the Summary area, select GOOGLE MAPS, which is the address provider that you have created in Step 1 of this activity.
- On the form toolbar, click Save.