Select to view content in your preferred language

Embed Experience builder app as an iframe in website

4766
16
05-30-2023 04:00 AM
ShiraKellerMandel
New Contributor

Hi,

I would like to know if it is supported by Esri to Embed Experience builder app in iframes in external websites.

 

0 Kudos
16 Replies
NiklasKöhn
Esri Contributor

Hi all,

picking this up because I was just made aware of the issue by a customer who needs it.
@Wei_Ying: It's actually not so hard to create your own example. Just create a basic experience with a WebMap in it and see how it behaves in an iFrame.
I did exactly that and the issue is there: Embedding a protected experience in the iFrame gives me an "Item does not exist or is inaccessible" error.

I came up with this workaround: It works for me with a publicly shared Experience that accesses a protected map (screenshots below). This means that the data is still not publicly accessible (assuming the services in the map are also protected), only the outer frame of the application can be loaded. As soon as the application accesses protected resources, it is redirected to the OAuth2 mask, so you basically see nothing of the application without authenticating.

2024-09-19_11h51_27.png

0 Kudos
Wei_Ying
Esri Regular Contributor

Hi @NiklasKöhn ,Thanks for following up.
What edition of ExB are you using? Enterprise or Online? 
We should have fixed this issue for AGOL edition in June release for BUG-000168706. 

WeiYing1_0-1728062947810.jpeg

 



0 Kudos
EJSlager_kcgis
Occasional Contributor

I am still having this issue with an ExpB app on the AGOL edition after the June update. I am trying to embed a non-publicly shared ExB into an Enterprise Site (i.e. Hub Basic) using the IFrame card in Enterprise Sites. 

To be clear: the ExB app was built on AGOL, the Enterprise Site is deployed on ArcGIS Enterprise. 

0 Kudos
Wei_Ying
Esri Regular Contributor

Hi we just release new version in November 2024 ArcGIS Online, can you try again and see if the issue still exist?

0 Kudos
EJSlager_kcgis
Occasional Contributor

Yes, I am having the issue after the November update as well. 

0 Kudos
Wei_Ying
Esri Regular Contributor

Thanks for confirming. Unfortunately I cannot reproduce the problem you see. 
Would you be able to reach out Esri Support (https://support.esri.com/en-us/overview) to provide us a repro case and details? Thank you! 

0 Kudos
DarraghOSullivan
Frequent Contributor

Jumping in here ... @Wei_Ying you say it is 'applicable' to embed ExB in an iFrame. What does this mean in terms of support and performance? Our app is quite 'heavy' so I'm wondering if it's likely to have speed/responsiveness issues etc? Thanks 

0 Kudos