Using the example below I receive an error message
Unable to Open LinkThe referenceContext Parameter is required.
Unable to Open Link
The referenceContext Parameter is required.
Open the map and show the pop-up for a specific feature: https://fieldmaps.arcgis.app/?referenceContext=showFeature&itemID=38bc6f6c60344e259c98cef7e1f56809&featureSourceURL=https://services.arcgis.com/N4jtru66ctSQR53c/ArcGIS/rest/services/MyServicesTesting/FeatureServer/3&featureID=662177dc-4e4a-403b-aaa8-44faf0aa9344
showFeature
Select a feature and open its pop-up from a map or task integration
Further, showFeature is not listed as a supported value for referenceContext:
referenceContext
What the app should do, if anything, once open and the user is signed in
The following values are supported:
Anyone able to reproduce?
Hi @ahargreaves_FW ,
On that page, if you change the version to Enterprise 12.0 you will see the showFeature documentation. It is missing from the Arc GIS online version of that page, but it will be added soon.
Chris
Where is 'referenceContext=showFeature' documented? I can't see it alongside all the other referenceContext=... doc here
It would not work on 25.1.0 but users with iOS 18 where able to get the latest version of Field Maps and it did work. 25.1.0 is the max version on iOS 17.
Any resolution to this?
I don't think it works. I will open a ticket with ESRI.
Hi @TL2
The link was an example of the formatting of the URL to use the ShowFeature parameter, I had not shared the map publicly,
Field Maps does require the URL to be encoded. Below is an example of what the URL looks like encoded:
https://fieldmaps.arcgis.app/?referenceContext=showFeature&mapId=4ac74eeff0f7452998e4d057e8a6dc9a&featureSourceURL=https%3A%2F%2Fservices.arcgis.com%2Fj3JVMGycAs95su2E%2Farcgis%2Frest%2Fservices%2Fstormwaterpits%2FFeatureServer%2F0&featureID=14ef546c-5ae1-4e8d-ae14-781e3b519d1f
You could use the encode function in ArcGIS Arcade, or also copy and paste the url into the web browser and it should encode this for you as well,
Thanks
Alex
Can you confirm this works? I am not sure if the map and service are shared publicly but when I email this link to myself, I get the same error message (Unable to Open Link The referenceContext Parameter is required.) and not a permissions error. Field maps 25.3.1
To use the show feature parameter, you will need to specify the GlobalID of the feature you are wanting to display the pop-up for, below is an example of a working URL for the show features.
When clicking on the link in your post, in looks different to the text appearing that you sent through, could you please provide the full link?
Here is a working URL parameter for the show feature:
https://fieldmaps.arcgis.app/?referenceContext=showFeature&ItemId=4ac74eeff0f7452998e4d057e8a6dc9a&featureSourceURL=https://services.arcgis.com/j3JVMGycAs95su2E/arcgis/rest/services/stormwaterpits/FeatureServer/0&featureID=14ef546c-5ae1-4e8d-ae14-781e3b519d1f
Thanks,
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.