I have a web map in AGOL that I am trying to open in Field Maps and start tracking via URL parameters.
This is the syntax that I have in a QR code
https://fieldmaps.arcgis.app/?itemID={id}c&referenceContext=track&portalURL=https://ourmaps.maps.arcgis.com&trackingON=True&trackingDuration=16
When I scan the QR code with my iPhone camera, the Field Maps is launched, my organization portal sign in is opened and a pop up says "Start Location Sharing - Tracking will be started" If I click OK Tracking is enabled but the map I wanted is not loaded and I don't see any indication of the duration being set.
If I change the referenceContext to open like this
https://fieldmaps.arcgis.app/?itemID={id}c&referenceContext=open&portalURL=https://ourmaps.maps.arcgis.com&trackingON=True&trackingDuration=16
I get a screen that says "Location Sharing - Using this map requires location sharing to be turned on" I enable location sharing and then get prompted for how long to track and the correct map is opened
How can I open the map, set tracking on, and for a duration in one URL?
Thanks,
Mele