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 HenryLindemann_4-1707995101188.png](https://community.esri.com/t5/image/serverpage/image-id/94871iDECCEDD108F555AD/image-size/medium?v=v2&px=400)
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 HenryLindemann_0-1707993656120.png](https://community.esri.com/t5/image/serverpage/image-id/94865i6D1947466C2DE041/image-size/medium?v=v2&px=400)
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_0-1707995788252.png](https://community.esri.com/t5/image/serverpage/image-id/94875i71C317FE8C7A2383/image-size/medium?v=v2&px=400)
![HenryLindemann_1-1707994020478.png HenryLindemann_1-1707994020478.png](https://community.esri.com/t5/image/serverpage/image-id/94867i10B1CEE1BA3D2DCE/image-size/medium?v=v2&px=400)
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 HenryLindemann_6-1707995215297.png](https://community.esri.com/t5/image/serverpage/image-id/94873iFC661A6D9D27F97D/image-size/medium?v=v2&px=400)
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_5-1707995201636.png](https://community.esri.com/t5/image/serverpage/image-id/94872iBD13203F49BFB272/image-size/medium?v=v2&px=400)
![HenryLindemann_1-1707995915188.png HenryLindemann_1-1707995915188.png](https://community.esri.com/t5/image/serverpage/image-id/94876i5E00FC0D71F145BF/image-size/medium?v=v2&px=400)
Restart your webserver.
in my chase after making these changes I was able to open up surveys in the browser.
![HenryLindemann_2-1707996124115.png HenryLindemann_2-1707996124115.png](https://community.esri.com/t5/image/serverpage/image-id/94877i4036B9BBACC982AB/image-size/medium?v=v2&px=400)
As always please make backups off your system before implementing any major changes.
Regards
Henry