A collection of ready-to-use notebooks for common ArcGIS Online administration tasks. Maintained by the Geospatial Operations Team, World Bank Group.
| Script | Description |
|---|---|
| Bulk Sharing | Share items to groups and set access levels based on tag rules. Supports dry-run preview, post-run validation, and detailed logging. |
- Browse the
notebooks/folder and download the.ipynbfile you need. - Upload it to your ArcGIS Online Notebook environment.
- Open the notebook, edit the Configuration section at the top, and run.
Every notebook includes a DRY_RUN = True mode — always preview before applying changes.
The canonical source for each script lives in scripts/ as a plain .py file. Notebooks in notebooks/ are auto-generated from these using Jupytext.
Never edit .ipynb files directly. Edit the .py source, then regenerate:
make notebooksSee docs/contributing.md for the full workflow.
agol-maintenance/
├── README.md
├── Makefile ← converts .py to .ipynb
├── .gitignore
├── scripts/ ← Origiinal .py script
│ └── bulk_sharing.py
├── notebooks/ ← auto-generated for readability and upload to AGOL
│ └── bulk_sharing.ipynb
└── docs/
└── contributing.md
- ArcGIS Online Notebook environment (Python 3.9+)
- Service account or named user with appropriate privileges
- Membership in all target groups (for sharing scripts)
Internal use — World Bank Group.