ArcGIS Online Web App cannot be displayed in a frame (IE)

3285
5
Jump to solution
08-10-2017 07:51 AM
Danielle_Journey
Occasional Contributor

Has anyone found a solution for ArcGIS Online web apps that "cannot be displayed in a frame" when using Internet Explorer?  Web map works great in Chrome, and it is a public facing page:  Homeowners Associations | Murphy, TX - Official Website 

Code:

<div class="embed-container"><iframe width="100%" height="1500" title="HOAs" src="http://murphytx.maps.arcgis.com/apps/webappviewer/index.html?id=673694d677d94697a934e64699d74318" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></div>

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

In my testing your app requires credentials in all browsers. In Chrome can you try your app in a new incognito window and see if you are prompted to log-in?  If I run the app and look at the developer console there  is a debug message that says 'credential is null' so I suspect there is something in the map that isn't shared publicly. Since its the Web App Builder perhaps someone in the Web AppBuilder for ArcGIS‌ space will have more info. 

Also you are currently using http but based on the console messages it seems like you have the locate widget enabled in the app. If you want this widget to work you might want to switch the url to https. 

https://murphytx.maps.arcgis.com/apps/webappviewer/index.html?id=673694d677d94697a934e64699d74318

View solution in original post

5 Replies
Danielle_Journey
Occasional Contributor

After doing some troubleshooting... the web app will open in a new window in Firefox, Edge, and IE ... but immediatly redirects to the home sign in page.  This web app is completely public, and only has one hosted feature layer that is shared as public.  All is still working perfectly in Chrome.  I do not understand what is going on... help!

0 Kudos
KellyHutchins
Esri Frequent Contributor

In my testing your app requires credentials in all browsers. In Chrome can you try your app in a new incognito window and see if you are prompted to log-in?  If I run the app and look at the developer console there  is a debug message that says 'credential is null' so I suspect there is something in the map that isn't shared publicly. Since its the Web App Builder perhaps someone in the Web AppBuilder for ArcGIS‌ space will have more info. 

Also you are currently using http but based on the console messages it seems like you have the locate widget enabled in the app. If you want this widget to work you might want to switch the url to https. 

https://murphytx.maps.arcgis.com/apps/webappviewer/index.html?id=673694d677d94697a934e64699d74318

View solution in original post

Danielle_Journey
Occasional Contributor

Yes, thank you Kelly Hutchins.  I found that hitting my address points for the location search was causing the lock down.  Thank you!

0 Kudos
LochnerSLC
New Contributor

Hi Kelly,

Can you please explain a bit more about how you tracked down this error in IE?  I'm having a similar issue right now.  This web app:

https://gis.hwlochner.com/payson/ 

I can't seem to display anything in the iFrame, but only when I use Internet Explorer.  It works in Chrome and Firefox.  I'm not particularly great at working with Explorer.  I'm wondering if you can see something?

The iFrame should be displaying this static HTML document:

https://gis.hwlochner.com/payson/html/titlepage.html 

Both documents are hosted on the same web server, and they're both accessed with https

Any advice would be helpful.  Thanks!

0 Kudos
RachelleDoucet
New Contributor III

hi there. I'm having the same issue that you experienced. I just tried your web app in IE and it looks like you resolved the issue you were having with displaying the iFrame. Can you share how you resolved this issue?

thanks!

Rachelle D.

0 Kudos