With Publish to Salesforce Fields, you can write your assignment values from Salesforce Maps Territory Planning directly to fields on Salesforce records such as Accounts, Opportunities, Leads, and custom objects. This lets you operationalize your territory designs without relying on an intermediary tool such as Enterprise Territory Management (ETM) or Salesforce Maps.
This article answers the question: how does Publish to Salesforce Fields work in Salesforce Maps Territory Planning, and what should I know before using it? Publish to Salesforce Fields writes territory assignment values from Territory Planning directly onto Salesforce records, updating them as the running user.
This feature publishes changes as the running user. However, it does not respect platform sharing mechanisms. If the user has access to records in Territory Planning, they can publish to those same records in Salesforce regardless of whether they have direct access to them. This allows objects to shift ownership during the territory planning process, regardless of the previous owner.
While performing the update, the publish respects any validation rules present on the object. If any records fail during publishing, the number of failed records is shown to the user. Territories without a defined owner are skipped when publishing to Owner Id.
Important: Consider making this feature available to Approvers Only to restrict access. This setting is available under Salesforce Maps | Configure | Territory Planning | Publish Options.
This feature can be used at multiple legend levels, and each level has its own matching method. You can only add a level once per publish, so you'll need to publish more than once if you need to update multiple Salesforce objects from the Territory Planning area.
The first value in the dropdown is the Territory Planning areas. You'll see an item for each level of the alignment's Territory Model (for example, Region, District, Territory). The matching criteria for areas is the Area Name (for example, update all records that match the Territory Name).
Note: Since Publish to Salesforce Fields is update only, any new territories created in Territory Planning must be added manually before publishing. Similarly, any territories deleted in Territory Planning must be deleted manually.
The next value in the dropdown is the container(s) selected as Territory Boundaries when creating the data set (for example, United States POSTAL CODE, Canada FORWARD SORTATION AREAS). The matching criteria for containers is the Container Name (for example, update all records that match the zip code).
Note: Unlike publishing to ETM or extracting to CSV (Comma-Separated Values), publishing to fields at the container level does not add back in point zips for the United States POSTAL CODE container.
Important: Standard object data, such as Accounts or Leads, should be updated carefully, since this updates every object that matches the container name, not a subset. Consider using unit-level publishing, or publishing to Salesforce Maps or ETM, if you want to update a targeted subset of records.
The final value in the dropdown is the unit(s) selected as a data source when configuring the data set. The matching criteria for units is the Unit Id (for example, Account Id, Lead Id).
Unit-level publishing can be used instead of exporting to CSV and re-uploading, and is useful for quickly applying changes made in Territory Planning to your Salesforce objects (for example, updating all accounts in your alignment to a new territory owner).
You can update a large number of records immediately using this feature, so it's recommended that you back up your data first. To use this feature, follow these steps:
Note:
1. Do not close or minimize the page while the publish is running. It's also recommended that this feature be controlled by Approval and set to Approvers Only to restrict access.
2. All publish options can be subject to Approval. If you don't see the option to publish, check with your company's Salesforce Administrator to see if that publish method is enabled.
000389061

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.