<?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 Using a field instead of a value in FeatureAttributes in custom URL for Field Maps in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/using-a-field-instead-of-a-value-in/m-p/1219144#M4644</link>
    <description>&lt;P&gt;I have a field map with layer 1 and layer 2, when you tap on a feature for layer 1, there's a popup which has a custom URL that adds a feature for layer 2. I am trying to put instructions in the custom URL where it uses the values of specific fields from layer 1 to populate in the new feature.&lt;/P&gt;&lt;P&gt;Now, &lt;A href="https://doc.arcgis.com/en/field-maps/android/help/deploy-your-map.htm" target="_self"&gt;deploy&amp;nbsp;your map&lt;/A&gt;&amp;nbsp;has great instructions on how to prepopulate attributes with hard coded values, however, is there a way to use field names in the key value pairs...?&lt;/P&gt;&lt;P&gt;This is not working:&lt;/P&gt;&lt;P data-unlink="true"&gt;https://fieldmaps.arcgis.app?referenceContext=addFeature&amp;amp;itemID=5b6d5758c0614120901506e2a1e39bbc&amp;amp;featureSourceURL=yadayada&amp;amp;featureAttribute=&amp;nbsp;{"gravel_program_id":{WorkOrder}}&lt;/P&gt;&lt;P&gt;...And the encoded version:&lt;/P&gt;&lt;P data-unlink="true"&gt;https://fieldmaps.arcgis.app?referenceContext=addFeature&amp;amp;itemID=5b6d5758c0614120901506e2a1e39bbc&amp;amp;featureSourceURL=yadayada&amp;amp;featureAttribute=%7B%22gravel_program_id%22:%7BWorkOrder%7D%7D&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with this would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2022 22:06:35 GMT</pubDate>
    <dc:creator>ClaireBibby2</dc:creator>
    <dc:date>2022-10-05T22:06:35Z</dc:date>
    <item>
      <title>Using a field instead of a value in FeatureAttributes in custom URL for Field Maps</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/using-a-field-instead-of-a-value-in/m-p/1219144#M4644</link>
      <description>&lt;P&gt;I have a field map with layer 1 and layer 2, when you tap on a feature for layer 1, there's a popup which has a custom URL that adds a feature for layer 2. I am trying to put instructions in the custom URL where it uses the values of specific fields from layer 1 to populate in the new feature.&lt;/P&gt;&lt;P&gt;Now, &lt;A href="https://doc.arcgis.com/en/field-maps/android/help/deploy-your-map.htm" target="_self"&gt;deploy&amp;nbsp;your map&lt;/A&gt;&amp;nbsp;has great instructions on how to prepopulate attributes with hard coded values, however, is there a way to use field names in the key value pairs...?&lt;/P&gt;&lt;P&gt;This is not working:&lt;/P&gt;&lt;P data-unlink="true"&gt;https://fieldmaps.arcgis.app?referenceContext=addFeature&amp;amp;itemID=5b6d5758c0614120901506e2a1e39bbc&amp;amp;featureSourceURL=yadayada&amp;amp;featureAttribute=&amp;nbsp;{"gravel_program_id":{WorkOrder}}&lt;/P&gt;&lt;P&gt;...And the encoded version:&lt;/P&gt;&lt;P data-unlink="true"&gt;https://fieldmaps.arcgis.app?referenceContext=addFeature&amp;amp;itemID=5b6d5758c0614120901506e2a1e39bbc&amp;amp;featureSourceURL=yadayada&amp;amp;featureAttribute=%7B%22gravel_program_id%22:%7BWorkOrder%7D%7D&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with this would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 22:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/using-a-field-instead-of-a-value-in/m-p/1219144#M4644</guid>
      <dc:creator>ClaireBibby2</dc:creator>
      <dc:date>2022-10-05T22:06:35Z</dc:date>
    </item>
  </channel>
</rss>

