This topic provides a brief walkthrough of how to share a locator as a service, create a locator package, and create a mobile map package. More information about each of these can be found in An introduction to sharing locators.
Share a locator as a hosted service
If you need an always available locator for everyone in your organization on ArcGIS Online or ArcGIS Enterprise, you can share your locator as a hosted service.
To share a locator as a service from ArcGIS Pro, you must first add it to your project.
Sharing a locator requires that you be logged in to ArcGIS Enterprise 10.5 or later with at least one federated server and that you have publisher or administrator privileges. If you are a member of a custom role, be sure the portal administrator has granted you the privilege to Publish server-based layers.
- On the Share tab of the ribbon,
click the Share locator button and select a locator from your project from the drop-down menu.
The Share Locator pane appears.
- Fill in the information on the General tab of the Share Locator pane.
- The Name text box is populated automatically with the name of the locator, but you can change the name or provide a path to share the locator to a folder other than the root folder on the server. For example, you could type Locators\Atlanta.loc in the Name text box to create and share to a folder named Locators.
- You must provide information in the Item Description, Summary, and Tags text boxes.
- Optionally, you can define which people in your organization you want to share your locator with by modifying Sharing Option.
- Optionally, you can modify the service properties on the Configuration tab of the Share Locator tab.
- On the Content tab of the Share Locator tab, you can view the folder structure into which your locator will be shared. You can also specify which federated server on your portal you want to share your locator to, assuming you have more than one. By default, your locator will be shared to your hosting server.
Your locator is now running on the federated server on your portal and can be accessed by users and clients on your network. If you shared the locator as a server administrator and allowed web access to the service, your service is also now available on the web.
You can add the locator from your portal to your project from the Portal tab of the Catalog tab. Browse to the shared locator there, right-click the locator, and choose Add to project. You can then use the locator from the Locate pane and in the geocoding geoprocessing tools.
Share a locator package
A good way to distribute a locator inside or outside of the organization is to create a locator package.
- On the Analysis tab of the ribbon,
click the Tools button to open the Geooprocessing pane.
The Geoprocessing pane appears.
- In the text box, search for the Package Locator (Data Management) tool, and click on it to open.
The Package Locator tool opens.
- For the Input Locator, browse to the locator on disk that you want to package and share with others in your organization.
- For the Output Locator, specify a location on disk to save the locator package.
- Click Run to execute the geoprocessing tool.
Once the tool has finished running, a .gcpk file is created, containing all the files from the original locator that can easily be shared for use in disconnected environments.
Share a locator in a mobile map package
If you need to share a locator for use in disconnected environments, you can create a mobile map package for use in mobile apps.
- On the Share tab of the ribbon, in the Package section,
click Mobile Map.
The Package Mobile Map pane appears.
- Select the Save package to file option if it's not already selected by default.
This will cause the output to be saved as an .mmpk file on disk.
- Specify a save location and output file name in the Name text box.
A default name and save location will be generated automatically, but you can change these.
- Provide a Summary and Tags to describe your locator and help users search for it or understand what it does.
- Optionally change the extent of the map to be included in your mobile map package, and specify if you want to clip the data to that extent.
- Check the Include Locator check box.
Checking this box will ensure that the locator is included with your mobile map package.
- Click Package to create your mobile map package.
Once the tool has finished running, an .mmpk file is created, containing all the files from the original locator that can easily be shared for use in disconnected mobile environments.
By examining why you need to share a locator with your organization and how it will be used, you can determine if sharing a locator as a hosted service or as a package is the best workflow to achieve your goals.