Select to view content in your preferred language

Field Maps link - referenceContext=showFeature causes error

872
8
01-12-2026 02:45 PM
TL2
by
Frequent Contributor

Using the example below I receive an error message 

Unable to Open Link

The referenceContext Parameter is required.

 

showFeature

Select a feature and open its pop-up from a map or task integration

  • itemID (optional)
  • referenceContext=showFeature
  • featureSourceURL
  • featureID

 

 

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:

  • addFeature
  • addRelatedFeature
  • center
  • open
  • search
  • shareLocation
  • updateFeature

Anyone able to reproduce?

0 Kudos
8 Replies
AlexHogan
Esri Contributor

Hi @TL2 

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/F...
&featureID=14ef546c-5ae1-4e8d-ae14-781e3b519d1f

Thanks,

Alex

0 Kudos
TL2
by
Frequent Contributor

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

0 Kudos
AlexHogan
Esri Contributor

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&fe...

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

0 Kudos
TL2
by
Frequent Contributor

I don't think it works.   I will open a ticket with ESRI.

0 Kudos
fmcintosh
Emerging Contributor

Any resolution to this?

0 Kudos
TL2
by
Frequent Contributor

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.

ahargreaves_FW
Frequent Contributor

Where is 'referenceContext=showFeature' documented? I can't see it alongside all the other referenceContext=... doc here

0 Kudos
ChrisDunn1
Esri Contributor

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

0 Kudos