laptop and a wrench

Bogue

When a URL encoded ampersand (&amp) is in an embed code, the embedded content does not load in the ArcGIS Experience Builder Embed widget.

ArcGIS Online
Numéro d’ID de bogue BUG-000171016
EnvoiSeptember 25, 2024
Dernière modificationAugust 20, 2025
S’applique àArcGIS Online
Version trouvéeJune 2024
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

Per investigation, this issue is from SharePoint (probably in their Nov 23 security update) and it is not from Experience Builder. - SharePoint has the Cross-origin resource sharing (CORS) policy and it does not support "'&'action=xxx" inside the URL anymore (it did before). If the same src is used inside a simple HTML iframe, and is put in a cross-domain server, the same behavior occurs. - YouTube does not have the Cross-origin resource sharing (CORS) policy and it still supports "'&'key=xxx" in a SRC. So their embed code works fine, e.g.:"". Thus, unfortunately, this is not a bug from Experience Builder, and cannot be fixed.

Solution de contournement

Remove &amp from the embed code.

Example:

<iframe src="https://___-my.sharepoint.com/personal/<userID>/_layouts/15/Doc.aspx?sourcedoc=%7B____________%7D&amp;action=embedview&amp;wdAr=1.7777777777777777" width="476px" height="288px">This is an embedded</iframe>

The altered code looks like the one below.

<iframe src="https://___-my.sharepoint.com/personal/<userID>/_layouts/15/Doc.aspx?sourcedoc=%7B__________%7D&action=embedview&amp;wdAr=1.7777777777777777" width="476px" height="288px">This is an embedded</iframe>

Étapes pour reproduire

ID de bogue: BUG-000171016

Logiciel:

  • ArcGIS Online

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement