Select to view content in your preferred language

Issue Embedding Survey123 in Dashboard

152
7
Jump to solution
Monday
GaryBowles1
Frequent Contributor

I am trying to embed Survey123 into a dashboard and I am receiving the following in the dashboard:

GaryBowles1_0-1767025464179.png

Here is the URL that I am using:

https://survey123.arcgis.com/share/<itemID>?portalUrl=https://<domain>/portal

We are at Portal 11.4.

Any suggestions appreciated.

Thanks,

--gary

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
VenkataKondepati
Regular Contributor

This is a known limitation with Survey123 embeds in Dashboards on Enterprise.

In Portal 11.4:

  • Dashboards can’t reliably embed Survey123 web forms using the /share/<itemID> URL.

  • The error usually comes from X-Frame / CSP restrictions on the Survey123 form when loaded inside a Dashboard iframe.

What works instead:

  • Use a Button or List action to open the survey in a new tab (supported and recommended).

  • Or embed Survey123 in Experience Builder, then link to that from the dashboard.

Things to double-check (won’t always fix it, but worth verifying):

  • Survey is shared to everyone or the same group as the dashboard

  • Portal URL is correct and reachable externally

  • User is authenticated (Survey123 embed does not support anonymous iframe auth well on Enterprise)

Bottom line: on Enterprise 11.4, Survey123 + Dashboard iframe embedding is unreliable by design. Experience Builder is the supported path if you need inline forms.

– Venkat

View solution in original post

0 Kudos
7 Replies
VenkataKondepati
Regular Contributor

This is a known limitation with Survey123 embeds in Dashboards on Enterprise.

In Portal 11.4:

  • Dashboards can’t reliably embed Survey123 web forms using the /share/<itemID> URL.

  • The error usually comes from X-Frame / CSP restrictions on the Survey123 form when loaded inside a Dashboard iframe.

What works instead:

  • Use a Button or List action to open the survey in a new tab (supported and recommended).

  • Or embed Survey123 in Experience Builder, then link to that from the dashboard.

Things to double-check (won’t always fix it, but worth verifying):

  • Survey is shared to everyone or the same group as the dashboard

  • Portal URL is correct and reachable externally

  • User is authenticated (Survey123 embed does not support anonymous iframe auth well on Enterprise)

Bottom line: on Enterprise 11.4, Survey123 + Dashboard iframe embedding is unreliable by design. Experience Builder is the supported path if you need inline forms.

– Venkat

0 Kudos
GaryBowles1
Frequent Contributor

Venkat,

I am getting the following when using the embed widget in Experience Builder:

GaryBowles1_0-1767029204581.png

 

--gary

0 Kudos
VenkataKondepati
Regular Contributor

Hi Gary,

this is almost always sharing / authentication, not the URL syntax.

In Enterprise 11.4, Survey123 cannot be embedded anonymously unless:

  • The survey item is shared to Everyone (public), and

  • The feature layer + form item are also public, and

  • The portal supports public embedding (no IWA / PKI).

Key checks:

  1. Make sure the Survey123 form item is shared to Everyone, not just Org.

  2. Make sure the underlying feature layer is also shared to Everyone.

  3. If your portal uses Windows/IWA auth, embedding will fail — dashboards don’t pass credentials to the Survey123 iframe.

  4. Try the URL in an incognito browser. If it fails there, it won’t embed.

The error “The survey is not accessible or does not exist” almost always means the iframe user can’t authenticate.

Regards,
Venkat

0 Kudos
GaryBowles1
Frequent Contributor

When I open an InPrivate window I get the following message: 

GaryBowles1_0-1767032540110.png

If i hit block, i get the same error as in my dashboard - if i hit allow then the survey loads in the browser.

--gary

0 Kudos
VenkataKondepati
Regular Contributor

This is a browser security restriction, not a Survey123 bug.

What’s happening:

  • When Survey123 is embedded (iframe) in a Dashboard, the browser blocks it from requesting local network access / third-party permissions.

  • In a direct browser tab, you can click Allow, so it works. Inside an embedded iframe, you can’t — so it fails with “survey not accessible”.

What to check / do:

  • Make sure the survey is shared to Everyone (or at least the same audience as the dashboard).

  • Use the standard share URL only:
    https://survey123.arcgis.com/share/<itemID>
    (Avoid extra parameters unless required.)

  • :warning: Embedding Survey123 in Dashboards has known limitations due to iframe + browser security.

  • Best practice: open Survey123 in a new tab (via a button or link) instead of embedding.

  • If embedding is mandatory, users must allow third-party cookies and local network access — which is often blocked in managed environments.

Bottom line: Survey123 works reliably when launched, not embedded. Dashboards + iframe security is the blocker here.

0 Kudos
GaryBowles1
Frequent Contributor

Is this the proper URL to allow to connect to any device on local network:

https://survey123.arcgis.com:443

Thanks,

--gary

0 Kudos
ftroncoso
New Contributor
Hello, I’ve had the same issue, and I found this related Esri BUG. It might be useful.
 

https://support.esri.com/en-us/bug/the-arcgis-experience-builder-survey-widget-in-arcgis-e-bug-00018...