Select to view content in your preferred language

Survey123 in Browser NOT returning field attribute like it does in App

604
7
Jump to solution
04-28-2026 02:32 PM
Teresa-AZ
Regular Contributor

Need help please.

I have researched online and in this Esri Community, and have attempted many possible solutions with no luck.  Here is my issue in a nutshell:

I created a Survey123 with Web Designer which has a map and singleline text question (like geopoint in Connect without the pulldata) that is linked to a Web Map with a Popup that has a Link to the S123 Form just created.  All is good when opening in a desktop app 🙂   

arcgis-survey123://?itemID=xyzx&portalURL=https://portal.xyzx&field:fieldname={attribute} 

It returns the attribute (which does have EncodeURL in an Arcade expression due to underscore in attribute name.)

---

HOWEVER, it does NOT return that attribute IF opened in a Browser and just gives the "suppose to be automatically populated text from attribute clicked in map like the desktop app does" as a Blank Text question that still Needs to be populated.  I believe I am using the correct link: 

https://survey123.arcgis.com/share/xxxitemIDxxx?portalUrl=https://portal.maranaaz.gov/portal.xyzx&field:fieldname={attribute} 

[along with the correct ? and then & for the parameters.]

Help please!

Thank you in advance!

-T

P.S. I have double checked to ensure all feature layers, web maps, REST services via Server Manager and more are shared with Everyone.  I have copied link into several Browsers including Firefox with no luck; I do see the Survey123 Form but the question that IS populated in App is NOT in Browser.  Any help would be great!

0 Kudos
2 Solutions

Accepted Solutions
Neal_t_k
MVP Regular Contributor

I did a generic test on a web survey, "portalURL" worked and "portalUrl" didn't work.

View solution in original post

0 Kudos
Teresa-AZ
Regular Contributor

@Neal_t_k 

More info, just so you know...

Popup in Web Map

TeresaAZ_0-1777484036051.png

(DESKTOP APP)

arcgis-survey123://?itemID=072xxx57e&portalUrl=https://portal.xyz/portal&field:click_on_a_storm_culvert={expression/expr0}

(FIELD APP)

https://survey123.arcgis.app/?itemID=072xxx57e&portalUrl=https://portal.xyz/portal&field:click_on_a_...}

(BROWSER – and only returns the S123 Form WITHOUT automatically returning the Attribute, like the APPs do without any issues.)

https://survey123.arcgis.com/share/072xxx57e?portalUrl=https://portal.xyz/portal&field:click_on_a_st...}

 

The Arcade Expression 0 takes care of the special character (underscore) used in the field attribute “column” name with a EncodeUrl to remove the “20%” for spaces. All good there.

 

APPs                                                              

TeresaAZ_1-1777484036054.png

BROWSER

TeresaAZ_2-1777484036056.png

 

Our S123 and data is in an on-prem server (so the portal is needed), and I changed with ?/&’s as needed. And checked that it is all Shared with Everyone (all FLs, etc.)  I am at a loss now.

View solution in original post

0 Kudos
7 Replies
Neal_t_k
MVP Regular Contributor

Your syntax appears correct, Did you test the url by hard coding it?  That might give some more clues.

Teresa-AZ
Regular Contributor

Yep. It works the same. Also attempting without the &field: and it is the same. Also attempted on several browsers and with clearing cache and private/incognito mode, and way too many other things. Also been since Friday on this one so on different days as well.  No luck.  I so want workers to be able to open in a browser without downloading or logging into an App. Thanks for such a quick reply!

0 Kudos
Neal_t_k
MVP Regular Contributor

@Teresa-AZ 

Longshot here: Documentation says "portalUrl" but your working one  for the field app is "portalURL".  Did you try that? 

Teresa-AZ
Regular Contributor

@Neal_t_k 

I was excited there for a moment. LOL.  I checked and all have the "portalUrl" which is copied exactly from the Collaborate tab in Web Designer (just to be sure) and I changed it as-needed for the app vs. browser addresses.  No luck still. Ugg.  I have double-checked ? and & and case-sensitive and nothing.  I would like to keep it in Web Designer but can go back to Connect if it works from there.  IDK.

0 Kudos
Neal_t_k
MVP Regular Contributor

I did a generic test on a web survey, "portalURL" worked and "portalUrl" didn't work.

0 Kudos
Teresa-AZ
Regular Contributor

Hmm...so when I change it to portalURL (in caps) it makes me log into our portal (Enterprise portal BTW) and then gives a login error. When I leave it in portalUrl (as documentation and as link in S123 Web Designer has it) it opens the Form in a browser but does not automatically fill the singleline text with Cart_ID as it does in the App ones.  I am a bit frustrated at this point.  Thanks for all your suggestions though! And I am here if you have more. 🙂

0 Kudos
Teresa-AZ
Regular Contributor

@Neal_t_k 

More info, just so you know...

Popup in Web Map

TeresaAZ_0-1777484036051.png

(DESKTOP APP)

arcgis-survey123://?itemID=072xxx57e&portalUrl=https://portal.xyz/portal&field:click_on_a_storm_culvert={expression/expr0}

(FIELD APP)

https://survey123.arcgis.app/?itemID=072xxx57e&portalUrl=https://portal.xyz/portal&field:click_on_a_...}

(BROWSER – and only returns the S123 Form WITHOUT automatically returning the Attribute, like the APPs do without any issues.)

https://survey123.arcgis.com/share/072xxx57e?portalUrl=https://portal.xyz/portal&field:click_on_a_st...}

 

The Arcade Expression 0 takes care of the special character (underscore) used in the field attribute “column” name with a EncodeUrl to remove the “20%” for spaces. All good there.

 

APPs                                                              

TeresaAZ_1-1777484036054.png

BROWSER

TeresaAZ_2-1777484036056.png

 

Our S123 and data is in an on-prem server (so the portal is needed), and I changed with ?/&’s as needed. And checked that it is all Shared with Everyone (all FLs, etc.)  I am at a loss now.

0 Kudos