Select to view content in your preferred language

Unable to Export CSV Files Using an Embedded Web AppBuilder in Experience Builder

5935
20
Jump to solution
11-09-2020 03:08 PM
LARAPAdmin
New Contributor II

Hi all,

I noticed that when you embed a Web AppBuilder application in Experience Builder, you are unable to export CSV files. When I attempted to export a CSV file using the Attribute Table, Experience Builder failed to download it. The file also does not even appear in the browser's downloads folder. Is anyone else having this issue, or is this a bug?

Any help would be greatly appreciated.

Thanks!

Carlos

20 Replies
RVG296
by
Occasional Contributor

Just tried this by embedding WebApp Builder App inside ArcGIS Dashboards Embed Content, the export didn't work. Not exactly sure if the fix was done only for Experience Builder but not for other apps.

0 Kudos
TonghuiMing
Esri Regular Contributor

@RVG296 When you embed a WebApp Builder App inside an Experience Builder app, you can successfully download the content. I assume the behavior you are seeing has something to do with Dashboards' embedding mechanism.

EmilyMcLeanACTGOV
Occasional Contributor

@TonghuiMing I'm having the same issue with my Web Experience that is embedded in a Dashboard. The table export works just fine when the experience is accessed directly within the browser, but nothing happens when you attempt the export within the Dashboard. 

Emily
0 Kudos
LisaDong
Esri Contributor

Hi everyone,

Please note if you have ArcGIS Enterprise:

  • BUG-000149298 - Unable to export a CSV file from a web app embedded in an ArcGIS Experience Builder web experience in ArcGIS Enterprise 10.9.1.
  • Closed as known limit:
    • "For safety reasons, the embedded app inside the ArcGIS Experience Builder Embed widget is constrained by the same-origin policy. For domains other than *.arcgis.com or *.esri.com, the sandbox attribute is automatically added. This is stated in the Embed widget documentation in https://doc.arcgis.com/en/experience-builder/configure-widgets/embed-widget.htm#ESRI_SECTION1_280578.... In order to download embedded content, the 'allow-downloads' property for the iframe must be supported, while the sandbox bans it. The CSV file cannot be downloaded because the domain in Portal for ArcGIS 10.9.1 is not a trusted domain. The CSV file can be downloaded if the portal has a trusted domain (for example, *.esri.com). This is a known limit and will not be addressed."
ChrisRoberts2
Occasional Contributor III

Hi @LisaDong 

Can you elaborate further is there something we need to add to our Portal settings to allow the export?

Cheers, Chris

najeebhall
New Contributor III

Hi @LisaDong ,

Is there  recommended soltuion to enable this functionality? you mention trusted domian is there a way to add web abb builder to this?

0 Kudos
TonghuiMing
Esri Regular Contributor

@najeebhall @ChrisRoberts2 This feature is being considered at a higher level since it involves AGOL org privileges. We have this one in the backlog and will update you if the function is finalized and released by the corresponding parties.

ShelbyZelonisRoberson
Occasional Contributor III

Any updates? I just built a whole Experience based on the ability to download from WAB embedded in the ExB and just realized it doesn't work....

0 Kudos
LisaDong
Esri Contributor

@ChrisRoberts2 @najeebhall @ShelbyZelonisRoberson

Please see the following update:

  • BUG-000149298 - Unable to export a CSV file from a web app embedded in an ArcGIS Experience Builder web experience in ArcGIS Enterprise 10.9.1.
  • Fixed in 11.1.
  • Public Explanation:
    • For safety reasons, the embedded app in the ArcGIS Experience Builder Embed widget is constrained by the same-origin policy. For domains other than *.arcgis.com or *.esri.com, the sandbox attribute is automatically added as stated in the Embed widget documentation, https://doc.arcgis.com/en/experience-builder/configure-widgets/embed-widget.htm#ESRI_SECTION1_280578....

      To download embedded content, the 'allow-downloads' property for the iframe must be supported, while the sandbox bans it. The CSV file cannot be downloaded because the domain in Portal for ArcGIS 10.9.1 is not a trusted domain. The CSV file can be downloaded if the portal has a trusted domain (for example, *.esri.com).

      Note: Starting from ArcGIS Enterprise 11.1, the Embed widget has been enhanced so the embedded URLs which share the same domain as ArcGIS Enterprise the ArcGIS Experience Builder app is hosted on are allowed to export.
JamesE
by
New Contributor II

hi 

Hi @LisaDong thanks for the update.

We are on Enterprise 11.1 however still having the exact same issue - export still not working on app builder embeded into experience builder..

Thanks!

0 Kudos