Select to view content in your preferred language

WAB: Change link text with custom widget

1772
10
Jump to solution
07-02-2019 01:03 PM
KarstenRank
Frequent Contributor

Hi,

I'm developing a widget that checks a webhook payload if the map has been updated. 

https://community.esri.com/thread/236190-re-popup-alert-when-webmap-has-a-new-save-date

If the payload timestamp is newer then the widget timestamp created at startup a popup window appears.

web mapping application

How can I additionally add something like "status of app" with my widget at the time the popup occurs?

Thanks for your help!

Karsten

Victor Tey Thank you for your tip!

0 Kudos
10 Replies
VictorTey
Esri Contributor

Hi Karsten, I have not had the opportunity to look at the DOM in depth but you can basically use dojo query(similar to jquery) to retrieve any DOM by css or by ID. Look for a unique attribute in the DOM and modify the content. Hope that helps

0 Kudos