Skip to content

A webhook listener that allows you to define a template for various items within your portal. When a new or updated item is mismatched with the template, an email is sent out to a configured group of people.

Notifications You must be signed in to change notification settings

jking-gis/Portal-Template-Webhook-Listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portal-Template-Webhook-Listener

A webhook listener that allows you to define a template for various items within your portal. When a new or updated item is mismatched with the template, an email is sent out to a configured group of people.

Deployment Steps

App Configuration

  • To edit the settings for the email and SMTP server, edit emailConfig.json
  • To enter credential information for the portal, so your app can run, enter it into appCredentials.json
  • To define templates for your portal items, so that they match, add/remove/edit items within itemTemplates.json

Python Environment Setup

  • Make sure that you use python 3.X as your python environment for this flask server
  • Make sure the following packages are installed into your python environment (use conda install , for conda environments)
    • flask
    • flask-cors
    • arcgis

Run ListeningServer.py

Portal Setup

Try creating or editing Portal items, and you should receive an email if the item mismatches your templates in itemTemplates.json

About

A webhook listener that allows you to define a template for various items within your portal. When a new or updated item is mismatched with the template, an email is sent out to a configured group of people.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages