Is there a WAB widget that can send an alert to a group of users by email or text message?

984
3
04-14-2020 05:58 PM
JunxuanZhao
New Contributor

Hi, I'm just wondering if there is a WAB widget that can send an alert to a group of users by email or text message? For example, if the app is monitoring a feature and a change of this feature is observed, then the app can automatically send alerts to a group of users by email or text message. If anyone has some ideas, please let me know. Thanks!

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Since WAB is a JS clientside application it has no ability to connect with a mail server on it's own, so no.

VictorTey
Esri Contributor

JS probably isn't the best way to achieve this. Some options that comes to mind are

Custom SOI - service object inteceptor which when detects an update/insert/delete send an email

Database table trigger if you are using enterprise geodatabase.

0 Kudos
RickeyFight
MVP Regular Contributor

Junxuan Zhao

Here is a python script to send an email: 

https://community.esri.com/docs/DOC-10163-send-email-when-a-feature-is-added-to-an-arcgis-online-hos... 

It might not be what you want though. 

0 Kudos