Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.21 KB

File metadata and controls

26 lines (20 loc) · 1.21 KB

Starting with ArcGIS Enterprise 10.9, ArcGIS Notebook Server can be configured as a webhook receiver for Portal webhooks. The webhook call will execute the code within a given notebook. Using Notebook Server is a great alternative to setting up an independent server as you can leverage many different Python modules, including the ArcGIS API for Python.

Setup

Prior to setting up the webhook, you must have an existing notebook (itemID). Create your Portal webhook by omitting the payload URL and using the following JSON for the config parameter with your ItemID.

{ "deactivationPolicy": { "numberOfFailures": 5, "daysInPast": 5 }, "properties": { "federatedServer": { "itemId": "<Notebook item id to be executed>", "tokenTypeToSend": "owner", "tokenExpirationTimeMinutes": 10 } } }

Consult the documentation for detailed steps.

Note: Notebook Server is only available for ArcGIS Portal webhooks. It cannot be the receiver for ArcGIS Online Hosted Features.