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 field, updated 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:
- Makes a connection to the development environment (via his organization’s URL)
- Accesses the group containing the web app and supported items.
- Creates an exported package of the group to contain supported items.
- Connects to his staging environment.
- Adds the exported package as a new item in the staging environment.
- Shares the exported package item to the staging group.
- Before importing the package as items, he inspects the contents.
- 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:
Article Discussion: