QR Code for Sign Out

595
7
03-02-2023 12:39 PM
MeleKoneya
Occasional Contributor III

We have been using QR codes to log in to Field Maps successfully, start tracking, as well as to get the users to the right map.  Is there a way to use a QR code to sign the user out?    This was an issue we had with iPads at our events this year.    At the end of a shift, users didn't sign out and would still show themselves as tracking.     

I see we can turn off tracking via the QR code, but does that also sign them off?   My testing does not look like that is the case.

Mele

0 Kudos
7 Replies
ColinLawrence
Esri Regular Contributor

Hi @MeleKoneya , there is no support for signing out via a URL but it is an interesting suggestion that we could consider. Consuming a URL that stops tracking will simply do just that and the user would have to sign out manually following that (where there is a prompt to upload any pending tracks).

EDIT: There is a potential workaround actually. If you pass a portalURL to a portal/organization that is not the same one that is currently signed in, or even a fake URL altogether, the app will prompt to you to sign out. Your scenario is not necessarily the intended use of this parameter so I would test this before deploying to your fieldworkers. The URL might look like:

https://fieldmaps.arcgis.app/?portalURL=https://fakeportal.esri.com/portal&referenceContext=shareLoc...

Regards,
Colin
MeleKoneya1
New Contributor III

Colin,

Thank you for the response and the suggested work around.    I tried that and it worked.   

Our use case scenario is at the WMPO golf tournament and other events where we track our Fire crews.   They use shared iPads.     There are many different crews and the iPads change users each day.    We attempted to ensure that the iPads were signed out of each day, but after 12-14 shifts, it was difficult to enforce as users were understandably ready to leave the site.       The next day if a user was already logged in, there were instances where the wrong user was shown on the maps.    With as many as 12 crews handing out it was hard to check each device to make sure the right user was logged in.   We are working to refine our check out and check in procedures but having a log out URL parameter we could put in a QR code would be a big plus for us.   If not that, then this work around may just suffice.    Thanks again!

Mele

 

0 Kudos
ColinLawrence
Esri Regular Contributor

Great! The only downside with this workaround is that you will see an error after the sign out is completed, where it attempts to connect to the portalURL you entered, but this can just be cleared. 

I thought I recognized the name! I think we plan to have a meetup with your organization to talk tracking either at the UC or before. Let make sure we bring this up as well. 

Regards,
Colin
MeleKoneya1
New Contributor III

Thanks Colin!    Yes, let's do meet at the UC.     

0 Kudos
MicahWilliamson
Occasional Contributor II

Could you share the (sanitized) URL you use to get a Map to open in Field Maps? Does that help with logging in? 

0 Kudos
MeleKoneya
Occasional Contributor III

Micah,  Yeah,  so we had issues getting our users to go to our organizations URL and not the Esri login as it was not intuitive.   The URL parameter helps tremendously and the QR codes is even better.   The URL I am sending also starts tracking.  Here is what the URL looks like https://fieldmaps.arcgis.app/?referenceContext=track&trackingON=true&portalURL=https://ourOrg.maps.a...

 

0 Kudos
ChristopherZeitner
New Contributor

i'm intrigued by this topic as we also struggle with enterprise vs ArcGIS login issues. can you please elaborate on how you are passing your organization's login credentials via the URL parameter?

0 Kudos