Project Territory (Markup) Plugin

Enabling Single Sign-On

Configuring Azure Maps or Bing Maps

Overview

Configure Client-Side Layers

Configure Server-Side Layers

Security

Advanced Settings

Features by Layer Type

Setup Documentation

Overview

One of the benefits of EasyTerritory is the users’ ability to make their own territory data available for access through a REST API. This can be done using the Project Markup Plugin. Users can also use the plugin to create a layer in your EasyTerritory catalog that is based on your territory data.

Step 1: Creating the Source Project

The first step in setting up a ProjectMarkupPlugin is to create the source project. Users will simply build their territories in an EasyTerritory project using one of the geographric boundary layers, such as the ZIP/Postal Code layer, the Counties layer, or the State Boundaries layer.

NOTE: As in all EasyTerritory projects, territory hierarchies can be represented using Groups in the Markup Panel, as well as by using pipe dileniated values on the territory name:
EasyTerritory Dynamics 365 setup
Once the plugin executes, these values will be represented by columns in the SQL database:
SQL database values

Step 2: Obtaining the Project ID

Once the territories are built, the user will need to obtain the Project ID for the source project. The Project ID can be found by going into the admin panel, clicking on the projects tab, and clicking on the source project.

Obtaining the Project ID

Step 3: Setup the Plugin

Once you have the Project ID, you are ready to setup the Project Markup Polygons plugin. The steps for doing this are as follows:

    • In the admin panel, go to the “Settings” tab, scroll down to “Plugin Configuration, and click “+item.”

Project Markup Polygons plugin setup

    • Give the plugin a name.
    • In the dropdown under “Assembly” click “OpenIntel.Plugins.SaveProjectMarkup”.

OpenIntel.Plugins.SaveProjectMarkup

    • In the dropdown under “Class” select “OpenIntel.Plugins.SaveProjectMarkup.PostProjectSave.”

OpenIntel.Plugins.SaveProjectMarkup.PostProjectSave

    • – Enter the Project ID of the source project that you saved for the plugin.

Enter the Project ID

    • Under affected layer IDs type “ProjectMarkupPolygons”

ProjectMarkupPolygons

    • Under configuration simply select “no configuration”

no configuration

  • Click “Save”

Step 4: Run the Plugin

Once the Plugin is saved, the user will return once again to the source project. When clicking to save the project, a new check box should appear asking if the user wishes to run the Plugin.

Run the Plugin

By checking the box and saving the project, the user’s territory data will now be saved to SQL Server and available for access through the REST API. As mentioned earlier, it can also be added to the user’s EasyTerritory catalog as a layer for other projects. Find the instructions for creating the custom catalog layer here.

For additional help please email: support@easyterritory.com