<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Field Maps link error when using referenceContext=showFeature in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683806#M12311</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354905"&gt;@ChrisDunn1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, in the log the layer URL is correct, and it is not shown as encoded.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried what you suggested not encoding the parameters and I got the same logs.&lt;/P&gt;&lt;P&gt;The previous log in both cases (using my original code and the update) before the URL not found shows me:&lt;/P&gt;&lt;P&gt;[APPINTEGRATION]: Parsed app link:AppLink(auth: nil, browse: nil), operation: Optional(SequoiaCore.AppLinkMapOperation.showFeature)&lt;BR /&gt;&lt;BR /&gt;For this operation it includes the parameters source (the URL which is correctly presented), id (the feature GlobalID) and callback and callbackPrompt both nil.&lt;/P&gt;&lt;P&gt;The thing that is strange is that with the same URL if I just change the showReference: 'updateFeature' in the dictionary (no other changes) it works straight away and takes me to the feature to be updated. And visa versa when I change it back I get layer not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2026 20:49:25 GMT</pubDate>
    <dc:creator>fmcintosh</dc:creator>
    <dc:date>2026-02-11T20:49:25Z</dc:date>
    <item>
      <title>Field Maps link error when using referenceContext=showFeature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683596#M12306</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm running into an error when using a Field Maps link.&lt;/P&gt;&lt;P&gt;For context I'm using ArcGIS Online in the Asia-Pacific region. I've tested this on both Apple and Android using the latest versions of Field Maps.&lt;/P&gt;&lt;P&gt;Here is an example Arcade expression:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Get feature GlobalID&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;featureGlobalID&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Replace&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;GlobalID&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'{'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;), &lt;/SPAN&gt;&lt;SPAN&gt;'}'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;''&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;// Set base url&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://fieldmaps.arcgis.app/" target="_blank" rel="noopener"&gt;https://fieldmaps.arcgis.app/&lt;/A&gt;?'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;// Set parameters&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;params&lt;/SPAN&gt;&lt;SPAN&gt; = {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;referenceContext&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'showFeature'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;featureSourceURL&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;'&amp;lt;LAYER_URL&amp;gt;'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;featureID&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;featureGlobalID&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;// Return show feature URL&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt; + &lt;/SPAN&gt;&lt;SPAN&gt;UrlEncode&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;params&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Noting I've removed the actual layer URL.&amp;nbsp;&lt;SPAN&gt;I've tried these links in the context of an Integration task action as well as in a popup. I've also tried to use other layers in the field map as well.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;In the troubleshooting logs I can see that it has successfully parsed the app link with the showFeature context and source (source URL) and id (feature GlobalID).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I consistently get a log immediately after of [APPINTEGRATION]: Layer not found: &amp;lt;LAYER_URL&amp;gt;. The link doesn't do anything as a result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is weird because for other app links with referenceContext=addFeature or updateFeature or addRelatedFeature these have all worked with the same layer URL. In that code example if I change the referenceContext: 'updateFeature' it works straight away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 05:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683596#M12306</guid>
      <dc:creator>fmcintosh</dc:creator>
      <dc:date>2026-02-11T05:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps link error when using referenceContext=showFeature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683718#M12309</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/790139"&gt;@fmcintosh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;When you see the error&amp;nbsp;&lt;SPAN&gt;Layer not found: &amp;lt;LAYER_URL&amp;gt;, is the url presented correct? And is it shown as encoded?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You shouldn't need to encode your url or any parameters for this link, so removing the UrlEncode() function may solve the problem.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's odd that the different reference contexts are behaving a bit differently, so there may be more to look into, but hopefully that change will at least get things working for you.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 17:39:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683718#M12309</guid>
      <dc:creator>ChrisDunn1</dc:creator>
      <dc:date>2026-02-11T17:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps link error when using referenceContext=showFeature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683806#M12311</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354905"&gt;@ChrisDunn1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Yes, in the log the layer URL is correct, and it is not shown as encoded.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried what you suggested not encoding the parameters and I got the same logs.&lt;/P&gt;&lt;P&gt;The previous log in both cases (using my original code and the update) before the URL not found shows me:&lt;/P&gt;&lt;P&gt;[APPINTEGRATION]: Parsed app link:AppLink(auth: nil, browse: nil), operation: Optional(SequoiaCore.AppLinkMapOperation.showFeature)&lt;BR /&gt;&lt;BR /&gt;For this operation it includes the parameters source (the URL which is correctly presented), id (the feature GlobalID) and callback and callbackPrompt both nil.&lt;/P&gt;&lt;P&gt;The thing that is strange is that with the same URL if I just change the showReference: 'updateFeature' in the dictionary (no other changes) it works straight away and takes me to the feature to be updated. And visa versa when I change it back I get layer not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 20:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1683806#M12311</guid>
      <dc:creator>fmcintosh</dc:creator>
      <dc:date>2026-02-11T20:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps link error when using referenceContext=showFeature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1684231#M12318</link>
      <description>&lt;P&gt;I got it working &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354905"&gt;@ChrisDunn1&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;The issue was the URL...&lt;/P&gt;&lt;P&gt;For other referenceContext I copied it from the feature service page it had the word 'ArcGIS in it. This wasn't working so by chance I tried copying it from the layer page in the item details it had 'arcgis' instead of 'ArcGIS'. This now worked straight away for showFeature.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Feb 2026 05:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1684231#M12318</guid>
      <dc:creator>fmcintosh</dc:creator>
      <dc:date>2026-02-13T05:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps link error when using referenceContext=showFeature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1684682#M12324</link>
      <description>&lt;P&gt;I'm glad you got it working&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/790139"&gt;@fmcintosh&lt;/a&gt;, it was really starting to stump me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2026 13:52:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1684682#M12324</guid>
      <dc:creator>ChrisDunn1</dc:creator>
      <dc:date>2026-02-17T13:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field Maps link error when using referenceContext=showFeature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1690031#M12457</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-referencecontext-showfeature/m-p/1690030/highlight/true#M12456" target="_blank"&gt;https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-referencecontext-showfeature/m-p/1690030/highlight/true#M12456&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2026 18:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-link-error-when-using-referencecontext/m-p/1690031#M12457</guid>
      <dc:creator>ahargreaves_FW</dc:creator>
      <dc:date>2026-03-11T18:03:34Z</dc:date>
    </item>
  </channel>
</rss>

