Popups not displayed in Explorer for iOS (iPhone)

3587
4
12-04-2015 10:30 AM
JadeFreeman
Occasional Contributor III

I'm trying to configure popups on a dynamic map service layer.  While the popups display and work just fine in my web map in Portal, they will not display when I load the map in Explorer for iOS on my iPhone.

The layer is a dynamic map service with several sublayers and I'm configuring popups on several of the sublayers.  I have several other maps where this is working just fine with other map services so I'm guessing it must be something unique to this particular map service but I have no idea of how to figure out what it is.

The service is secured (token) or I would share the url.

Is there any options that needs to be enabled in ArcGIS Server?

Tags (3)
0 Kudos
4 Replies
Saranya-Kesavan
Esri Contributor

Hello Jade,

I tried replicating the test case locally and the popups seemed to work fine. Could you tell me what version of iOS you have on your device?

Thanks

0 Kudos
JadeFreeman
Occasional Contributor III

I'm on iOS 9.1.  However, I'm pretty sure it has something to do with the may service.  In the web map, when I click on the 'Configure Popup' link, the popup configuration dialog is never shown and in the chrome dev tools console I get a variety of error messages (see below).

The only thing I can think of is the service was published with the preserve layer id's option turned on in Arcmap.  It's a 10.3.1 server hosting the service.  Like I said, I have other services that work just fine.

Thanks!

TypeError: Cannot read property 'name' of undefined(…) "TypeError: Cannot read property 'name' of undefined

    at Object.arcgisonline.map.main.getLayerTitle (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:11536:85)

    at b.declare._init (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1291:435)

    at b.declare.startup (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1259:36)

    at https://<<server name>>/portal/home/10.3.1/js/arcgisonline/base.js:820:46

    at Object.h.forEach (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:235:285)

    at d.startup (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/base.js:819:471)

    at Object.g.around.advice (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:250:237)

    at h.(anonymous function).g [as startup] (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:250:39)

    at n (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:112:92)

    at d.startup (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/base.js:695:282)"n @ dojo.js:formatted:5859(anonymous function) @ dojo.js:formatted:5883h.filter @ dojo.js:formatted:6503k @ dojo.js:formatted:5882

dojo.js:formatted:5859 TypeError: Cannot read property 'destroy' of undefined(…) "TypeError: Cannot read property 'destroy' of undefined

    at b.declare.destroy (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1257:205)

    at b.declare.showStack_PopupStack (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:9222:220)

    at b.declare.showStack (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:9209:30)

    at e (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1219:92)

    at https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1223:70

    at c (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:83:221)

    at A.then.then [as then] (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:85:301)

    at Object.arcgisonline.map.leftPanel.openLeftPopupPanel (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1222:490)

    at b.declare.configurePopup (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:12161:479)

    at null.<anonymous> (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:183:241)"n @ dojo.js:formatted:5859(anonymous function) @ dojo.js:formatted:5883h.filter @ dojo.js:formatted:6503k @ dojo.js:formatted:5882

dojo.js:formatted:5859 TypeError: Cannot read property 'destroy' of undefined(…) "TypeError: Cannot read property 'destroy' of undefined

    at b.declare.destroy (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1257:205)

    at b.declare.showStack_PopupStack (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:9222:220)

    at b.declare.showStack (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:9209:30)

    at e (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1219:92)

    at https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1223:70

    at c (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:83:221)

    at A.then.then [as then] (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:85:301)

    at Object.arcgisonline.map.leftPanel.openLeftPopupPanel (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1222:490)

    at b.declare.configurePopup (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:12161:479)

    at null.<anonymous> (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:183:241)"n @ dojo.js:formatted:5859(anonymous function) @ dojo.js:formatted:5883h.filter @ dojo.js:formatted:6503k @ dojo.js:formatted:5882

dojo.js:formatted:5859 TypeError: Cannot read property 'destroy' of undefined(…) "TypeError: Cannot read property 'destroy' of undefined

    at b.declare.destroy (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1257:205)

    at b.declare.showStack_PopupStack (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:9222:220)

    at b.declare.showStack (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:9209:30)

    at e (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1219:92)

    at https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1223:70

    at c (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:83:221)

    at A.then.then [as then] (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:85:301)

    at Object.arcgisonline.map.leftPanel.openLeftPopupPanel (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:1222:490)

    at b.declare.configurePopup (https://<<server name>>/portal/home/10.3.1/js/arcgisonline/arcgisonline.js:12161:479)

    at null.<anonymous> (https://<<server name>>/portal/home/10.3.1/js/jsapi/dojo/dojo.js:183:241)"

0 Kudos
JadeFreeman
Occasional Contributor III

If I add one the sublayer I'm trying to create a popup on as a feature layer to my map, I cannot configure popups on that layer until I remove the dynamic map layer, save the map and then reload the map.  I can then configure popups on it.

There must be something about the service that neither portal nor Explorer likes.

0 Kudos
MitchJohnson
New Contributor III

If you are still facing this issue, make sure you have the "SHAPE" field visible on your layers in your map service prior to publishing.

0 Kudos