Survey123 Web + Connect in a Disconnected Environment

967
0
02-15-2024 03:22 AM
Labels (1)
HenryLindemann
Esri Contributor
3 0 967

Good Day Esri Community, 

After struggling with setting up survey123 Web and survey123 connect in a disconnected environment, I thought let me share my process with the community, in the hopes of helping the someone down the line.  

The Problem,

When installing Survey123 connect in a disconnected environment you are not able to publish content via Survey123 connect this is because the survey123 Api is not available.

When installing Survey123 Web you cannot open the surveys in the browser, this is because Survey123 is looking for https://www.arcgis.com and https://survey123.arcgis.com/api in the background

HenryLindemann_4-1707995101188.png

 

The Solution

for survey123 connect apply the following steps,

Go to setting then services and change the https://survey123.arcgis.com/api to your Survey123 Web URL and add /api on the end, this will allow you to publish surveys after signing in.

HenryLindemann_0-1707993656120.png

This assumes that you have followed the following article to setup offline templates.

How To: Configure an Installed ArcGIS Survey123 Website in Disconnected Environments (esri.com)

HenryLindemann_0-1707995788252.png

 

HenryLindemann_1-1707994020478.png

 

Survey123 Web

Install Downloads | Notepad++ (notepad-plus-plus.org)

open the application as administrator and press ctrl + f this will open the find dialog, go to find in files, and make the following two replacements.

replace www.arcgis.com  with your portal your portal URL e.g. https://portal.com/webadaptor

at C:\Program Files\ArcGIS\Survey123website

HenryLindemann_6-1707995215297.png

 

and find and replace https://survey123.arcgis.com/api with your Survey123 Web URL and add api at the end e.g. https://survey123_dns/survey123/api

at C:\Program Files\ArcGIS\Survey123website

HenryLindemann_5-1707995201636.png

 

HenryLindemann_1-1707995915188.png

 

Restart your webserver.

in my chase after making these changes I was able to open up surveys in the browser.

HenryLindemann_2-1707996124115.png

 

As always please make backups off your system before implementing any major changes.

Regards

Henry