Summary
Infographic starter templates are a curated set of ready-to-use infographics with unique designs and key demographics. The templates are needed by the GeoEnrichment service to create infographic reports. The templates contain metadata about the infographic’s layout, styling, and the demographic attributes being requested.
Infographics are created primarily in ArcGIS Business Analyst applications. For Business Analyst Enterprise deployments, there is a utility provided in the downloadable resources for publishing the templates as portal items (Section B). Also provided in the downloadable resources are application files to enable infographics in ArcGIS Pro when connected to an Enterprise portal (Section C).
Note:
Starting at version 10.9.1 of Business Analyst Enterprise, installations of ArcGIS GeoEnrichment Server with 2021 U.S data include the starter templates in the standard data installation. If using version 10.9.1 with the 2021 U.S. data installed, skip Section B below.
Procedure
- Download resources
Download and extract these files:
There are three folders:
- starter-infographic-templates: A collection of standard ready-to-use infographic templates used by all Business Analyst apps.
- gallery-infographic-templates: A collection of additional templates that have been designed and curated by Esri staff that can be published alongside the standard infographics.
- InfographicsPlayer: Application files that enable the Infographics capability in ArcGIS Pro when connected to an Enterprise portal.
- Publish Starter Infographic Templates
The publish infographics utility requires Python 3. The recommended workflow is to run the utility on any machine with ArcGIS Server installed, where Python 3 is already installed with all needed libraries. If running the utility on a machine without ArcGIS Server installed, Python 3 can be installed manually. A manual installation requires Python to be added as an environment variable and the requests library to be installed, for example, pip install requests.
To publish the standard templates, run publishinfographics.bat (Windows) or publishinfographics.sh (Linux).
- For Windows, double-click publishinfographics.bat. It searches for Python 3 in the system.
- Enter the host name of the portal machine without https://, for example, portal.domain.com.
- There may be a warning about the connection being unsecured because the connection to the portal is through port 7443. Enter y or yes to continue.
- Enter the primary portal administrator, this is a built-in user such as the initial administrator account.
- Enter the portal administrator password.
- The tool connects to the portal and publishes the infographic templates.
- Deploy the infographics player
Deploying the infographics player for Pro enables the Infographics tool in ArcGIS Pro when connected to an Enterprise portal.
- Copy and paste the InfographicsPlayer folder into the portal apps directory: portal directory/apps/
- For example, C:\Program Files\ArcGIS\Portal\apps\InfographicsPlayer
The parameters of the publish infographics utility are shown in the table below.
Option | Description |
-h; -help | Show the help message |
-u; -user | Built-in admin username for ArcGIS Portal |
-p; -password | Password for ArcGIS Portal user |
-P; -portal | Portal domain E.g. portal.domain.com |
-i; -insecure | Allow connections to portal sites without a trusted certificate |
-python | Python 3 location |
-f; -force | Do not check infographics revision date (re-publish all infographics). |
Example usage:
publishinfographics.bat -u portaladmin -p secret -P machine.domain.com