ArcGIS Enterprise

Dev Summit 2021: Automate content promotion across tiered environments

In this demo, Bill shows how to automate a workflow to move curated and authoritative content from development to staging to production.

This is a very important workflow to many organizations as they conduct quality assurance (QA) checks on one or more tiers before ultimately promoting to their production environments. Bill demonstrates how newly introduced automation tools in ArcGIS Enterprise and ArcGIS API for Python can be used to migrate content via groups. 

For this scenario, Bill introduces a Web AppBuilder application that’s already in production and is used to monitor water distribution information. The web app consists of a set of tools and feature services that represent distribution mains and pump stations. Let’s see how he does it. 

In his web app, he’s added a new data fieldupdated the banner, tools layout and basemap, feature symbology, and popups. He’s conducted QA in his development environment and is ready to promote the content to staging where he’ll conduct additional QA.

To automate promotion of his content, he’s using a Notebook with ArcGIS API for Python to call the group migration manager tool to export the content as a package and then import into the staging tier.

As an administrator, here are his workflow steps: 

  1. Makes a connection to the development environment (via his organization’s URL) 
  2. Accesses the group containing the web app and supported items.
  3. Creates an exported package of the group to contain supported items.
  4. Connects to his staging environment.
  5. Adds the exported package as a new item in the staging environment.
  6. Shares the exported package item to the staging group.
  7. Before importing the package as itemshe inspects the contents.
  8. Finally, he imports the package into the sharing group. 

After the imported items are available on staging, he verifies that the web app’s item ID has been preserved and all the items in his app are represented as they were in the development tier.

Following QA review in staging, he can promote the content again to the production environment using the same method.

An administrator may conduct these steps manually or automate the workflow using a notebook task. Learn about this workflow as well as other content migration strategies in the documentation.

Learn more:

About the authors

Sara is a lead product engineer on the ArcGIS Enterprise team. She enjoys spending time at the lake, non-fiction, and cooking.

Bill is a lead software development engineer on the ArcGIS Enterprise team, focused on ArcGIS Notebooks, security, Kubernetes, and framework development.

Connect:
4 Comments
Oldest
Newest
Inline Feedbacks
View all comments

Next Article

Basemap Releases Include Over 300 New and Updated Communities

Read this article