Add a prefix or suffix to all items deployed with an ArcGIS Solution

1578
1
01-20-2023 12:23 PM
ChrisFox
Esri Regular Contributor
6 1 1,578

There may be cases where you want to deploy multiple versions of a solution. For example, a county who deploys our Election Results solution for each midterm and general election to visualize and share election results with the community. Each deployment of a solution places the solution and associated items into a new folder in your content. If you deploy Election Results three times you will have three copies of each item in 3 separate folders. Renaming the folder can help you uniquely identify each solution, however when you search your content for an item it can be challenging to know which item is associated with which deployment of the solution.

To assist with this we have created a new geoprocessing tool for ArcGIS Pro that can add a prefix or suffix to all the items and groups included with a solution deployment. So for example, if we deployed Election Results for the 2020 general election we could add the prefix '2020 General' to all the items included with that deployment. If we then deploy Election Results for the 2022 midterm we could add the prefix '2022 Midterm' to all items in this deployment. Now when we search for an item we can more easily distinguish between items associated with different deployments of the same solution.

Complete the following steps to add a prefix or suffix to all items deployed with an ArcGIS Solution:

  1. Download the Solution Helper Tools and unzip the zip file
  2. Open ArcGIS Pro and sign into your ArcGIS organization.
  3. From the Insert tab click Toolbox > Add Toolbox and add the SolutionHelperTools.atbx
  4. Expand Toolboxes in the Catalog pane and open the Rename Solution Content tool in the SolutionHelperTools toolbox.

    toolbox.png

  5. In the Deployed Solution Item parameter selection the solution associated with the items you want to add a prefix or suffix to. You can also copy/paste the item id from the browser into the parameter.
  6. Add either a prefix or suffix you want to add to the item name.

    tool.png

  7. Click Run.

    Content.png

1 Comment