Skip to content

esri-es/webhooks-demo-cesri20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhooks Demo #CEsri20

We finally have Webhooks also supported on hosted feature services! ^_^

This is a short tutorial on how to reproduce the same demo we did at the Developer's Week during the Esri Spain User Conference in 2020.

Demo Webhooks on Hosted Feature Services - ArcGIS Online

Requirements: you need to have installed: Git, NodeJS and ngrok in your computer

Tutorial

To reproduce this example:

  1. Run this script:

    • Clone this repo: https://github.com/esri-es/webhooks-demo-cesri20.git
    • Install dependencies: npm i
    • Run: node index.js
  2. Run grok http 127.0.0.1:3000 in a different terminar

  3. Setup your Webhook

Now you are ready to test it:

  • Open the Web Map Viewer
  • Sign in
  • Load the feature layer
  • Do some edits
  • And wait until you start seeing messages in your console ^_^

Known limitations

This script do not support secured services but contributions are always welcome. We would suggest to use arcgis-rest-js to make it easy.

Additional resources

Questions, enhancements & bugs

Use the issues to ask/report anything you want.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published