Push messages in WAB widgets?

565
2
Jump to solution
11-15-2017 09:23 AM
KarstenRank
Occasional Contributor III

Hi,

is it possible to create a costum widget, that shows push messages? For example if the webmap was changed, that the user reloads the webmap application? Or has someone other ideas?

Thanks,

Karsten

0 Kudos
1 Solution

Accepted Solutions
VictorTey
Esri Contributor

Hi, what do you mean by webmap have changed? as in change in layers or change of basemap?

The ArGIS javascript API are largely event driven:

https://developers.arcgis.com/javascript/3/jshelp/inside_events.html

Hope that helps

View solution in original post

0 Kudos
2 Replies
KoenDemonie
New Contributor II

Sure it can   !

You'll need to create this in a theme though, this because widget's lifecyle ony start from the moment it has been openend.

Tip: have a look into Dojo Publish ... 

0 Kudos
VictorTey
Esri Contributor

Hi, what do you mean by webmap have changed? as in change in layers or change of basemap?

The ArGIS javascript API are largely event driven:

https://developers.arcgis.com/javascript/3/jshelp/inside_events.html

Hope that helps

0 Kudos