Embedded map requesting login to arcgis account

2172
1
02-01-2012 08:53 AM
MarshallRobinson
New Contributor III
I have three maps that I'm trying to embed into my website (each are shared publicly), and two of them are requesting login information (in the iframe) to arcgis.com to view the embedded map. They work just fine when you open them up in the arcgis.com map viewer.  The three maps are:

-http://www.arcgis.com/home/webmap/viewer.html?webmap=f420a632db934022ac438e8099379f86 (requests login)
-http://www.arcgis.com/home/webmap/viewer.html?webmap=0faffa4ad1474ad4a51a56c4063ed43a (requests login)
-http://www.arcgis.com/home/webmap/viewer.html?webmap=80ba8062752c40108d1a74f21498d739 (no login needed)

I wish I could get them all to work without the login screen showing up in the iframe.  Any help would be appreciated.
Tags (2)
0 Kudos
1 Reply
MikeMinami
Esri Notable Contributor
The webmaps that are displaying the login screen have layers that reference items that are not publicly shared. The webmap works in the ArcGIS.com Map Viewer because you are logged in and have access to the items. When embedded, your login information is not available. Thus, even thought he webmap is public, the items in it are not.

The solution is to share the items you added that reference your map services publicly. If you don't want to do this, you can reauthor the webmaps and add your map service layers directly to the webmap, not based on an item.

We need to make a change to ArcGIS.com to let people know when they share an item publicly, like a webmap, that the item may reference other items that are not shared publicly, which you may want to make public. This is something we want to address in a future release.

Thanks,

Mike
0 Kudos