<?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 Filter INBOX based on field value and csv in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/filter-inbox-based-on-field-value-and-csv/m-p/1310397#M50757</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, I am looking at trying to &lt;STRONG&gt;filter an INBOX&lt;/STRONG&gt; based on the relationship between the logged in user and a field in a csv file.&lt;/P&gt;&lt;P&gt;The csv file looks like this:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_3-1689929104768.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75958i9F2294D9A667E1A2/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_3-1689929104768.png" alt="CherylWheeler11_3-1689929104768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my survey I have a question that selects the site area using a choice list&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_2-1689929063509.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75957i19CDCE492D5A9A3D/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_2-1689929063509.png" alt="CherylWheeler11_2-1689929063509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I want to only list those surveys which have the same area name as that stated next to the user in the csv file for the user logged in. For example, for User1, the INBOX would only list surveys in 'east'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was looking at using pulldata with the csv to create a list of only those users in the area selected, then concatenating the list of users into a variable. My idea was to then use a LIKE statement in the INBOX query to interrogate the ${username} and the concatenated variable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_4-1689929608445.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75959i8B353B5A3D7AB5E1/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_4-1689929608445.png" alt="CherylWheeler11_4-1689929608445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_5-1689929635980.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75960i329903A5DFF9DCC0/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_5-1689929635980.png" alt="CherylWheeler11_5-1689929635980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My question is - how do I concatenate the name field values from the filtered list from the csv file?&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 08:59:50 GMT</pubDate>
    <dc:creator>CherylWheeler11</dc:creator>
    <dc:date>2023-07-21T08:59:50Z</dc:date>
    <item>
      <title>Filter INBOX based on field value and csv</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/filter-inbox-based-on-field-value-and-csv/m-p/1310397#M50757</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, I am looking at trying to &lt;STRONG&gt;filter an INBOX&lt;/STRONG&gt; based on the relationship between the logged in user and a field in a csv file.&lt;/P&gt;&lt;P&gt;The csv file looks like this:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_3-1689929104768.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75958i9F2294D9A667E1A2/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_3-1689929104768.png" alt="CherylWheeler11_3-1689929104768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In my survey I have a question that selects the site area using a choice list&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_2-1689929063509.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75957i19CDCE492D5A9A3D/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_2-1689929063509.png" alt="CherylWheeler11_2-1689929063509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I want to only list those surveys which have the same area name as that stated next to the user in the csv file for the user logged in. For example, for User1, the INBOX would only list surveys in 'east'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was looking at using pulldata with the csv to create a list of only those users in the area selected, then concatenating the list of users into a variable. My idea was to then use a LIKE statement in the INBOX query to interrogate the ${username} and the concatenated variable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_4-1689929608445.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75959i8B353B5A3D7AB5E1/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_4-1689929608445.png" alt="CherylWheeler11_4-1689929608445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CherylWheeler11_5-1689929635980.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75960i329903A5DFF9DCC0/image-size/small?v=v2&amp;amp;px=200" role="button" title="CherylWheeler11_5-1689929635980.png" alt="CherylWheeler11_5-1689929635980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My question is - how do I concatenate the name field values from the filtered list from the csv file?&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 08:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/filter-inbox-based-on-field-value-and-csv/m-p/1310397#M50757</guid>
      <dc:creator>CherylWheeler11</dc:creator>
      <dc:date>2023-07-21T08:59:50Z</dc:date>
    </item>
  </channel>
</rss>

