Building a territory model
Read The two hierarchies first if you have not. This page assumes you know that a territory's depth and the size of the areas it is built from are independent.
What a model is

Your models, as Salesforce sees them. Territory Mapper edits the same records — a model you build on the map is a Territory Model here, and a territory is a Territory.
A territory model holds one complete territory structure. It has a name and a description, and it contains a tree of territories.
One model is active at a time. Salesforce grants record access, and fills an account's Assigned Territories list, for the active model only; a model in Planning is where you build the next structure before you activate it. So Sales and Service are not two models. They are two top-level territories of the one active model, each with its own shape, its own people and its own roles, as deep as each needs to be.
Territory Mapper's automatic assignment does look at every model that has saved boundaries — unless an Account row in Territory Object Config names one model, see Which objects a model assigns — so a second model with boundaries should be a plan you are about to activate, not a parallel department. And an account that already holds a territory in any model, Planning included, is left alone by automatic assignment: it counts as assigned. Build the next model without assigning records to it until it is active.
⚠️ Because models never compare themselves to each other, nothing warns you if two models disagree. That is by design — they are separate answers to separate questions. It also means a mistake in one model is invisible from the other.
Planning one, before you draw anything
Three decisions, in this order. Two of them are expensive to change later.
1. How many tiers
Depth is free to change structurally — you can add a tier under any territory at any time — but every territory you add needs a boundary drawn, and a boundary is the expensive part.
A useful rule: a tier should correspond to something a person is accountable for. If nobody owns a tier, it is a folder, and folders belong in the name of the territory rather than in the tree.
2. How fine each territory should be
Per territory, not per tier. See The two hierarchies.
- Whole counties where the business does not split them. Fast to draw, fast to change, few pieces.
- Block groups where a metro has to be divided. Precise, and slow to redraw.
- Tracts are the middle option and are frequently the right one for a suburban split.
Draw coarse first and refine. A county-level model that is finished is more useful than a block-group model that is half drawn, and refining is re-selecting one territory rather than starting again.
3. What happens where nobody sells
Some of the map will belong to no territory, and that is normal. You have two choices and they are different:
- Leave it uncovered. Records that land there raise a
COVERAGE_GAPexception, which is a to-do list. See Coverage gaps. - Draw a catch-all territory over it. Records get assigned and nothing is raised.
Neither is wrong. Choose deliberately, because the difference decides whether you find out.
The model's name, and the five buttons beside it
The model is managed from the panel header. Its name is a button: press it to see every territory model in your org with its state, open a different one, or choose New territory model (shown only to users who can manage). To its right are five actions.

An earlier build's model card. The same actions, plus zoom, now sit in the panel header beside the model's name.
| Button | Does |
|---|---|
| Zoom | Frames the model's territories on the map |
| People | Lists every territory in the model at once, rather than making you walk the tree |
| Pencil | Renames the model and edits its description (users who can manage) |
| Circular arrow | Redraws the map layers. Use it if the map and the tree look out of step |
| + | Adds a top-level territory (users who can manage) |

🔴 The + beside the model's name and the + on a territory card do different things. The model's + adds a territory at the top; a territory's + adds a child under that territory. Getting them confused is the commonest way a tree ends up the wrong shape.
Naming the model

Renaming the model. The name is the one a Salesforce administrator sees on the Territory2Model record, so it is worth setting before anyone else opens it.
The model's name and the record's name are the same name. There is no separate "display name", so what you type here is what appears in Salesforce Setup, in reports, and in every list of models.
Adding a territory

Adding the first territory. Only the label is required; the description is carried through to Salesforce and is worth writing while you still remember what you meant.
Press +, type a label, press Create. To add several in a row, press Create +1 instead: the territory is saved and the form stays open for the next one. The territory appears in the tree immediately.

A territory, and its five actions: assign people, view its children, add a child, rename it, and — the globe, which turns green while it is on — turn on map management so you can draw its boundary.
A user with view-only access — the Viewer permission set without the Administrator one — sees the tree and the map but none of the controls that change anything: on a territory card only the people button (view its children) remains, in the panel header only zoom, people and refresh remain, and the map popup offers no Assign Users. The map service refuses such a user's edits as well, so the missing buttons are not the only guard.
| Button | Does |
|---|---|
| Person + | Assign people to this territory |
| People | Show everything beneath this territory. Greyed out until it has children |
| + | Add a child territory. 🔴 Greyed out until this territory has a boundary — see below |
| Pencil | Rename it and edit its description |
| Globe | Turn on map management, so clicks on the map select areas for this territory |


A model with its first territory drawn: the tree on the left, the boundary on the right, and the legend naming the one territory at this depth. One model, one tree.
🔴 The rule that catches everyone: map it before you can nest under it
A territory's + is disabled until that territory has a boundary. Hover it before you have drawn one and the tooltip says so:
You must map this territory first before adding sub-territories
So the order is always: create a territory → draw its boundary → then add children under it. You cannot lay out the whole tree first and draw the boundaries afterwards, which is what most people try.
It is not an arbitrary restriction. A child is drawn from the same census areas as its parent, so until the parent has some there is nothing for a child to be made of.
Adding a child

Adding a child. The form says who the parent is — "(under Southeast)" — because + on the model card and + on a territory card do different things.
Read the "(under …)" line before you type. It is the only thing on screen that tells you where the new territory will land, and it is the difference between a second top-level territory and a child.


A two-tier model. A child territory is drawn from the same census areas as its parent; it is not restricted to a smaller census level because it is deeper.
Depth is unlimited. So is the number of children.
Seeing everything beneath a territory

Everything beneath a territory, in one list, without walking the tree card by card.
Press the people button on a territory card. Select Child Level narrows the list to one depth.
⚠️ "Show by Role" is greyed out until at least one territory role applies to this model. It groups the list by what people do rather than by tree position, so with no roles there is nothing for it to group by. See Defining territory roles.
What happens to a neighbour when boundaries meet
If you select an area that already belongs to another territory, it moves. Immediately, silently, and without asking either of you.
The area is removed from the territory that had it and added to yours. Nothing is rejected, no warning is shown, and the other territory's owner is not notified.
This is intended — for a map tool, painting over a neighbour is the expected gesture — but two parts of how it currently behaves are worth knowing:
| 🔴 A neighbour you cover completely is not touched | If your selection swallows all of another territory, that territory keeps its whole boundary and now overlaps yours. Only neighbours you partly cover lose ground, and only those visible on screen when you press Save |
| ⚠️ Its owner is never told | There is no notification and no audit entry. The only way to notice is to look at the map |
Both are owed remediation and neither is fixed today. Until they are: before a large drag over populated ground, look at what is already there.
Renaming, moving and deleting
| Action | Effect on the boundary |
|---|---|
| Rename a territory | None. The shape is unaffected |
| Add a child | None to the parent. The map stops you clicking or dragging outside the parent's boundary, but nothing on the server checks it, so a child can still end up partly outside its parent |
| Delete a territory | 🔴 The boundary is orphaned, not deleted. See below |
🔴 Delete-and-recreate does not do what it looks like
A territory's boundary is stored outside Salesforce, keyed on the territory's record id. Delete a territory and recreate it with the same name and you get a new id — and the old boundary is stranded, still stored, belonging to nothing.
The same applies to cloning a territory model, which is the standard Salesforce realignment workflow: a clone has new ids throughout, so the clone has no boundaries at all and the original model's boundaries are not copied with it.
Until this is fixed, do not use clone-a-model as a realignment strategy, and prefer editing a territory over deleting and recreating it. If you have already done either, the stranded boundaries need clearing on the GIS side — see Troubleshooting.
Limits worth knowing
| Territories per model | No product limit. 🔴 Colour repeats after 20 territories in one sibling group, and there is currently nothing else to tell the repeats apart — the pattern fill intended for that is generated but not yet drawn. Read the legend rather than the colour |
| Depth | No limit |
| Models per org | No limit |
| Areas per territory | No hard limit. Hundreds are routine; thousands are slow to redraw |
| Overlap between models | Always allowed |
| Overlap within a model | Not allowed in intent, not prevented in practice — see the neighbour section above |
| Contiguity | Not required and not checked. A territory can be in several unconnected pieces |
Next
Drawing and editing boundaries — the part that takes the time.
Last verified: 2026-11-07 · Owner: MapKraken Labs LLC
Something on this page wrong, or a setup step missing? That is a documentation defect and we want it — tell us and this is the page that gets fixed.