Import Mapservice to JSON - merkator-software/GaiaBuilder-manual GitHub Wiki
The ImportMapserviceJSONTool imports the settings from an existing Mapservice and creates a JSON configuration file for deploying this Mapservice. After running this tool, the AddDatabaseInfo tool and the AddSecurityInfo tool can be used to add database configuration and security configuration to the JSON. This tool cannot be run from the command line.
- JSON config file: navigate to the folder where the JSON file should be created, this should be the same directory where the ArcGIS Pro file (APRX, Mapx, json) is.
- Map: the filename of the ArGIS Pro document, Mapx document or json map
- Document Type: the type of the Mapdocument
- ArcGIS Server: the ArcGIS Server to read the configuration from
- Service: the full url to the Mapservice. Avoid double slashes in the path
- Import Layer configurations from Portal: Selecting this option will download the configurations from Portal for ArcGIS on the Mapservice and extensions. This enables you to author custom popups, labels or symbology in your Portal on the Mapservice or Featureservice, store these configurations in your repository and to deploy these configurations in your DTAP. Run this tool again to download a changed configuration from your portal
- Apply layer metadata from database to portal: this will set metadatafromlayer property to "true" and when deploying the Mapservice, GaiaBuilder will read the Title, Description, Summary, Tags and Use constraints configured on the first Layer in the Map and apply those to the Portal Item(s).
- Partent Configuration, Optional, configure a parent configuration with existing settings. The tool will reference this parent configuration file and any properties which are configured in this parent configuration are left out of this new configuration