Select to view content in your preferred language

Survey123 Web in Disconnected Environment

159
1
Monday
zaphod
by
Emerging Contributor

Good afternoon!  
I'm trying to set up Survey123 connect & web in a disconnected environment, but I keep running into issues with it.  Currently, when I go to the website and hit "sign in," it redirects me to the ArcGIS site for login (https://www.arcgis.com/sharing/rest/oauth2/authorize........)
I have followed the process here: Configure an Installed ArcGIS Survey123 Website in Disconnected Environments and Survey123 Connect can successfully pull down the uploaded template/sample surveys from my Portal, however I am encountering the aforementioned issue in S123 Web as well as a similar issue in Survey123 Connect.  When I'm trying to create a form from an excel document, it fails with a null value immediately after this log: 
<15>1 2026-04-27T20:44:57Z my_hostname ArcGIS Survey123 Connect 24580 - [AppStudio@11205 category="PortalGroupContentRequest" function="search" filename="PortalGroupContentRequest.qml" line="41"] PortalGroupContentRequest: search query: id:some_id portalUrl: https://www.arcgis.com
This indicates to me that some file somewhere is still configured to utilize arcgis.com rather than my portal URL.  I have checked ..../Survey123website/config.json and nothing in there references arcgis.com, the portalUrl, arcgisjsapiURLs are both my disconnected portal.  In Survey123 Connect both the portal URL and the Survey123 API are referenced instead of anything arcgis.com.  Is there anywhere else I'm missing that needs to be changed from arcgis.com?  

 

Using ArcGIS Portal 10.9.1 if that helps.

Thanks in advance!  

0 Kudos
1 Reply
zaphod
by
Emerging Contributor

In a move that is almost guaranteed to bite me almost immediately, I've modified the file: /assets/js/main-v3.18.64.js and replaced every reference with "www.arcgis.com" with my portal's URL.  This seems to have fixed the website, while the desktop Connect app still will not let me create a survey based on excel.  Any idea where that value was originally set?  Is it something I have to set up at install time for that js file to inherit it?  

0 Kudos