Re: Popup alert when webmap has a new save date

293
0
05-22-2019 01:24 AM
LeoLiu1
Occasional Contributor

Hi Karsten,

Victor's suggestion is the best as I know.

But if your portal is under 10.7, probably try getItem or getLayerList methods in utils module: 

https://developers.arcgis.com/javascript/3/jsapi/esri.arcgis.utils-amd.html

layers can be compared between response.itemData vs this.map.itemInfo.itemData.

item modified date can be compared between response.item.modified and this.map.itemInfo.item.modified.

0 Kudos
0 Replies