Select to view content in your preferred language

Creating a survey - requires a token? Any way around it?

115
1
02-09-2025 09:20 PM
MichaelBell
Regular Contributor

We have a feature layer in our ArcGIS Enterprise. Using a collaboration, we have shared it with our ArcGIS Online portal. I can make edits to it in ArcGIS Online that are immediately reflected in our ArcGIS Enterprise.

However, when I try to make a Survey123 survey in ArcGIS Online that links to it (links to the ArcGIS Online feature layer through the collaboration), Survey123 Connect asks for a token.

Is this to be expected, and is there a better way to do this that wouldn't require a token? As I say, I can make edits to the layer in our ArcGIS Online environment (admittedly signed in through the Portal, but then everyone using it would be signed in anyway).

Failing that, what is the best way to supply a token through the Survey123 app? I can create an Oauth2 web app on our Enterprise server and pass a url. We basically don't want to have the user do any more authentication than necessary, but keep the data hosted in our Enterprise server.

0 Kudos
1 Reply
abureaux
MVP Frequent Contributor

Generally, you'd want the survey and the data in the same place. Why not create a layer in AGO and sync (check out the Esri post in that thread) that layer with Enterprise. Then, just build the survey on top of that layer?

0 Kudos