Select to view content in your preferred language

Support for offline Survey123 JS API

769
3
12-16-2024 02:17 PM
Status: Open
EdenPunter
Occasional Contributor

We have just deployed ArcGIS Earth 2.3 in a disconnected environment and have noticed the new Survey123 submission window does not load as it is reaching out to https://survey123.arcgis.com/api/jsapi/.

The file with the reference is at C:\Users\username\AppData\Local\ESRI\ArcGISEarth\cache\ however it looks like a new .html file is generated each time the Survey submission window is created, reverting back to the internet jsapi. We can't see this reference in any other location.

Is there a way to update the jsapi reference to an offline endpoint to support disconnected environments?

Tags (2)
3 Comments
BrendaButton

Is this really an issue? My team were just about to roll this out (I know it's a little late, our desktop application tech is a bit slow), but if it's not properly supported offline then what's the point?

Seems like this is the new norm for most new apps and general config....

NicholasEverdell

@EdenPunter - surely ArcGIS Earth would use the Survey123 URL that is configured in the ArcGIS Enterprise that is being connected to?

If this is set up in your deployment and still Survey123 is pointing to the default there would be bigger concerns from me about deploying the application! What else is it trying to send somewhere else?

YongweiKang

Thank you for bringing up these important concerns about Survey123 integration within ArcGIS Earth in disconnected environments.

ArcGIS Earth currently embeds Survey123 using the Survey123 Web App API by importing the JavaScript library hosted at <https://survey123.arcgis.com/api/jsapi/>. This approach ensures that users always have access to the latest features and updates in the Survey123 interface without requiring additional local configuration or deployment of the Survey123 website. However, as your question points out, this method does not automatically detect or connect to the Survey123 website hosted on ArcGIS Enterprise. Instead, it depends on an internet connection to access the Survey123 JavaScript API.

We understand the importance of offline functionality, especially in scenarios where organizations operate in disconnected or secure environments. Support for the locally installed Survey123 website is being considered for future releases of ArcGIS Earth. This could involve enabling configurations to point to an organization's on-premise Survey123 website hosted within their ArcGIS Enterprise deployment. This would meet the requirements of an offline and secure environment, and give users full control over integration and resource dependencies.

Your feedback is extremely valuable and directly influences our development priorities. We're committed to delivering a robust solution that meets the needs of all our users, including those in fully disconnected environments.