Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering ArcGIS Enterprise Administration

You're reading from   Mastering ArcGIS Enterprise Administration Install, configure, and manage ArcGIS Enterprise to publish, optimize, and secure GIS services

Arrow left icon
Product type Paperback
Published in Oct 2017
Publisher Packt
ISBN-13 9781788297493
Length 382 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chad Cooper Chad Cooper
Author Profile Icon Chad Cooper
Chad Cooper
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. ArcGIS Enterprise Introduction and Installation FREE CHAPTER 2. Enterprise Geodatabase Administration 3. Publishing Content 4. ArcGIS Server Administration 5. Portal for ArcGIS Administration 6. Security 7. Scripting Administrative Tasks 8. The ArcGIS Python API 9. ArcGIS Enterprise Standards and Best Practices 10. Troubleshooting ArcGIS Enterprise Issues and Errors

Working with Portal through Python


Since the ArcGIS APIs are RESTful, they can be programmatically accessed by any language that can make a web request. Python makes this very simple to do, and for that reason, virtually, all code samples that you will find from Esri are in Python, as are their wrapper libraries.

PortalPy

PortaPy is a Python 2.7 module written by Esri that installs with Portal into the Portal installation directory on your Portal server but is also available on Esri's GitHub account (https://github.com/Esri/portalpy). PortalPy can run from any machine with Python 2.7 installed, meaning you can configure this on your local PC that more than likely has ArcGIS Desktop installed, which comes with Python 2.7.x.

Installation and configuration

To work with PortalPy from your local PC, you'll have to install the module. To do so, complete the following steps:

  1. On your PC, create a directory called portalpy (mine is C:\Projects\portalpy).
  2. Go to the Esri GitHub portalpy repository and download...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image