Skip to content

wickit7/arcgisportalmanagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArcGIS Enterprise-Portal: Scripts for publishing services and migrating items (arcgisportalmanagement)

The scripts are designed to automate tasks in the ArcGIS Portal environment. JSON files are used to execute the scripts with the desired parameters.

Publishing ArcGIS Services

The script publish_service_portal.py can be used to pusblish ArcGIS Services like MapServer, FeatureServer, WFS or WMS. In the folder tutorial there are several json sample files:

The JSON schema and the set of JSON parameters that can be used are described in the README file PARAMETERS_PUBLISH_SERVICES.md.

Publishing ArcGIS webtools

The script publish_webtool_portal.py can be used to pusblish an ArcGIS webtool. A sample json file is found in the folder tutorial:

The JSON schema and the set of JSON parameters that can be used are described in the README file PARAMETERS_PUBLISH_WEBTOOL.md.

Migrate ArcGIS Portal Users

The script 0_clone_users.py can be used to migrate ArcGIS Portal Users from one Portal (e.g. test stage) to another Portal (e.g. productive stage). A sample json file is found in the folder tutorial:

The JSON schema and the set of JSON parameters that can be used are described in the README file PARAMETERS_MIGRATE_USERS.md.

Migrate ArcGIS Portal Groups

The script 1_clone_groups.py can be used to migrate ArcGIS Portal Groups from one Portal (e.g. test stage) to another Portal (e.g. productive stage). A sample json file is found in the folder tutorial:

The JSON schema and the set of JSON parameters that can be used are described in the README file PARAMETERS_MIGRATE_GROUPS.md.

Migrate ArcGIS Portal Items

After publishing referenced services to different stages (publish), the script 3_clone_items.py can be used to migrate ArcGIS Portal Items (e. g. hosted services, Web Map's or Web Map Application's) from one Portal (e.g. test stage) to another Portal (e.g. productive stage). A sample json file is found in the folder tutorial:

The JSON schema and the set of JSON parameters that can be used are described in the README file PARAMETERS_MIGRATE_ITEMS.md.

Contributing

Contributions to this project are welcome! If you have any suggestions or bug reports, please open an issue or pull request on GitHub.

License

This project is licensed under the terms of the MIT license. See the LICENSE file for more information.

Acknowledgements

This project includes the arcpy package from Esri (Copyright © 1995-2022 Esri), which is subject to its own license terms. Please refer to the Esri license agreement for more information.

About

Scripts to publish ArcGIS services and webtools and scripts to migrate ArcGIS Portal users, groups and items.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published