<?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: Pull data attribute values and compare with input in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1627999#M63128</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/243827"&gt;@KennethLindhardt1&lt;/a&gt;,&amp;nbsp;thanks for sharing this, it's super helpful! I have a follow-up question that hopefully you or maybe&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;could help with.&lt;/P&gt;&lt;P&gt;I'm doing something similar: I want to make sure a user-entered Feature ID doesn't already exist in the layer. So I have this set in a Relevant note field. The problem is that when I'm testing the survey in the browser, the Relevant note is already showing before I type anything, and it won't let me input anything into the text box. It just clears it right away.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S123_XLSForm_View.png" style="width: 618px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135319i5E34CEF046325E1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="S123_XLSForm_View.png" alt="S123_XLSForm_View.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if this is because the way the URL is constructed, it thinks an empty Feature ID text box matches the URL when there's no Feature ID specified?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S123_XLSForm.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135318iD441AD604D968217/image-size/large?v=v2&amp;amp;px=999" role="button" title="S123_XLSForm.png" alt="S123_XLSForm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note calculation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;${Feature_ID} = pulldata("@layer","getValue","attributes.Feature_ID","&lt;A href="https://services.arcgis.com/MY_LAYER" target="_blank"&gt;https://services.arcgis.com/MY_LAYER&lt;/A&gt;",concat("Feature_ID='",${Feature_ID},"'"))&lt;/P&gt;&lt;P&gt;If this calculation creates a query where Feature_ID = '', then when the form field is blank, it would calculate to True and show my warning, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you encounter any similar issues when using this in your survey?&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 20:56:10 GMT</pubDate>
    <dc:creator>jfischer91</dc:creator>
    <dc:date>2025-06-27T20:56:10Z</dc:date>
    <item>
      <title>Pull data attribute values and compare with input</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1509782#M58104</link>
      <description>&lt;P&gt;Hi, I have the most of my pull data to work, but what I can't seem to figure out is to search through the table and get the value.&lt;/P&gt;&lt;P&gt;So I need the survey to block for input, if the parcel has already been surveyed, but I'm not storing any parcel geometries in the surveys feature layer.&lt;/P&gt;&lt;P&gt;So my idea was to create an ID field created from the parcel data. I enter a parcel and using pull data to retrieve the ID, that ID is stored in the Surveys feature service.&lt;/P&gt;&lt;P&gt;If a survey is submitter, it will then include the Parcel ID.&lt;/P&gt;&lt;P&gt;If I in a week walk into the same parcel, I will get the same ID from my parcel feature service, but since it's now also stored in the feature of the survey, I can then remind the user to use the inbox and edit, instead of trying adding 2 surveys in the same parcel.&lt;/P&gt;&lt;P&gt;I can't seem to get there though.&lt;/P&gt;&lt;P&gt;Maybe I'm seeing it wrong, maybe there's also another solution or a more standard way of doing this. The goal is to never be able to create a second survey within a parcel, but being forced to edit existing using repeats.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 09:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1509782#M58104</guid>
      <dc:creator>KennethLindhardt1</dc:creator>
      <dc:date>2024-07-25T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data attribute values and compare with input</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1509882#M58105</link>
      <description>&lt;P&gt;Yeah that's exactly where I'm coming from in my thinking. Sometimes you desire the flexibility of a class that can be thrown into a bag of classes on a whim and sometimes you desire something more strict that is embedded into the structure of your app. For me, the data attributes allow you to be more structured than a class list, and that's useful&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://tutuapp.uno/" target="_blank" rel="noopener"&gt;https://tutuapp.uno/&lt;/A&gt;&lt;/SPAN&gt; .&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 23:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1509882#M58105</guid>
      <dc:creator>tamburo</dc:creator>
      <dc:date>2024-07-29T23:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data attribute values and compare with input</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1509934#M58108</link>
      <description>&lt;P&gt;Oh, I did a typo, and that's why I couldn't get it to work. Sometimes delete everything and start over &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So it is actually working fine, I just needed tot spell the attribute correctly.&lt;BR /&gt;&lt;BR /&gt;pulldata("@layer","getValue","attributes.THE_ATTRIBUTE_FIELDNAME_I_WANT_ASWERED","&lt;A href="https://myserviceURL" target="_blank"&gt;https://myserviceURL&lt;/A&gt;",concat("THE_ATTRIBUTENAME_THAT_SEARCHES_IN_THE_TABLE='",${survey123Question},"'"))&lt;BR /&gt;&lt;BR /&gt;No issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2024 12:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1509934#M58108</guid>
      <dc:creator>KennethLindhardt1</dc:creator>
      <dc:date>2024-07-25T12:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data attribute values and compare with input</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1627999#M63128</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/243827"&gt;@KennethLindhardt1&lt;/a&gt;,&amp;nbsp;thanks for sharing this, it's super helpful! I have a follow-up question that hopefully you or maybe&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1213"&gt;@JamesTedrick&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;could help with.&lt;/P&gt;&lt;P&gt;I'm doing something similar: I want to make sure a user-entered Feature ID doesn't already exist in the layer. So I have this set in a Relevant note field. The problem is that when I'm testing the survey in the browser, the Relevant note is already showing before I type anything, and it won't let me input anything into the text box. It just clears it right away.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S123_XLSForm_View.png" style="width: 618px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135319i5E34CEF046325E1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="S123_XLSForm_View.png" alt="S123_XLSForm_View.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if this is because the way the URL is constructed, it thinks an empty Feature ID text box matches the URL when there's no Feature ID specified?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S123_XLSForm.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/135318iD441AD604D968217/image-size/large?v=v2&amp;amp;px=999" role="button" title="S123_XLSForm.png" alt="S123_XLSForm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note calculation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;${Feature_ID} = pulldata("@layer","getValue","attributes.Feature_ID","&lt;A href="https://services.arcgis.com/MY_LAYER" target="_blank"&gt;https://services.arcgis.com/MY_LAYER&lt;/A&gt;",concat("Feature_ID='",${Feature_ID},"'"))&lt;/P&gt;&lt;P&gt;If this calculation creates a query where Feature_ID = '', then when the form field is blank, it would calculate to True and show my warning, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you encounter any similar issues when using this in your survey?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 20:56:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pull-data-attribute-values-and-compare-with-input/m-p/1627999#M63128</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-27T20:56:10Z</dc:date>
    </item>
  </channel>
</rss>

