I have been experiencing a problem with Survey123 not recognizing users as being logged-in in several scenarios. These surveys have been established and working for more than a year, and this problem has come up in the last few months. There are two scenarios so far, and they are as follows:
- I have a several surveys embedded in different dashboards, all of which are configured to open in edit mode within the dashboard. One example is a Yard Sale Permit. The survey itself is open to the public, and the public uses this survey to submit an application for a Yard Sale Permit. The dashboard is for our staff to view the permit information and makes necessary modifications. In order for the staff to view the dashboard, they must log in to AGOL, then open the dashboard. The problem is that the embedded survey does not recognize them as being logged in and generates an error that will not allow them to submit edits. (When a user is logged in, their user name and picture icon is present in the top-right of the survey window, but this is not showing up). However, if the user opens the survey123 web app from our org's AGOL home page first, the embedded survey loads just fine and will allow them to make edits and submit with no problems. This was not a problem until just a few months ago. We are using Windows 10 with the Google Chrome browser. I haven't tested with other browsers at this time.
- I have a map for use in the Field Maps mobile app, and I've configured the pop-up to contain a link to a survey that opens in the web form in edit mode. Again, this was working fine with no problems until a few months ago, and now when the user (who is logged into the Field Maps app) launches the survey from the pop-up, they receive an error that they don't have permissions to access the survey. Again, when this happens, there is no username or picture icon in the upper right of their survey. However, if you open the browser and go to our org AGOL home page, log in, then launch the survey123 web app, then go back to Field Maps and launch the survey, it functions properly and the survey shows them as being logged in. I have tested this with Chrome and Samsung Internet and experience the same issue.
It appears that there is some problem with the user's credentials getting passed to the Survey123 web form in both desktop and mobile environments, and with different browsers. I've searched the community forum, and have yet to find anyone with this same issue. I did find a thread that talks about a similar problem and suggests making changes to the Chrome settings for "Same site cookies" and "Preloading pages for faster browsing," but I've tried changing both of those settings to no avail. Here's the thread: Embedded Survey123 Web Form works for some but not others . There were two suggestions in this thread, neither of which seem to solve the problem for us.
I hope I've explained this problem well enough, but I'd be happy to answer any questions that may help to find a solution. I can also provide some screen shots if needed - I just didn't have them at the time of writing this question. Thanks.
Tyler Bragg