<?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: Inbox Query expression in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expression/m-p/1290942#M49385</link>
    <description>&lt;P&gt;I think deviceid is actually a survey123 unique id, so you may want to use pulldata("@property", 'userAgent')&amp;nbsp; or something else to fill a question with a property.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To your question, I don't believe anything outside of general SQL queries (field=value) works in the inbox query expression. The username is an exception to this, and has to be called by ${username}, regardless of the survey design.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_635E85B962D64E699F1C277423026A52" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_635E85B962D64E699F1C277423026A52&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2023 04:22:49 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2023-05-19T04:22:49Z</dc:date>
    <item>
      <title>Inbox Query expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expression/m-p/1290936#M49383</link>
      <description>&lt;P&gt;Can someone help me with this?&lt;/P&gt;&lt;P&gt;What I would like to do is to make the inbox only show records that match the device id of the user.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AppDevMWCI_0-1684463859608.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71131i0DBDDB15F41F1E7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="AppDevMWCI_0-1684463859608.png" alt="AppDevMWCI_0-1684463859608.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I manually assigned the device id of the user in the DeviceID field. This will serve like a unique username.&lt;/P&gt;&lt;P&gt;DeviceID2 retrieves the device id of the device and DeviceID3 just copies the value from DeviceID2.&lt;/P&gt;&lt;P&gt;For example, user with device id 'abcde123' (DeviceID2 and DeviceID3) will only see in his Inbox records with 'abcde123' in the DeviceID field.&lt;/P&gt;&lt;P&gt;How can I setup a query expression in my Inbox to only show records with matching values from the DeviceID and DeviceID3 fields?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AppDevMWCI_1-1684464781481.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/71132i14E508B7465DD9AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AppDevMWCI_1-1684464781481.png" alt="AppDevMWCI_1-1684464781481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 02:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expression/m-p/1290936#M49383</guid>
      <dc:creator>AppDevMWCI</dc:creator>
      <dc:date>2023-05-19T02:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Inbox Query expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expression/m-p/1290942#M49385</link>
      <description>&lt;P&gt;I think deviceid is actually a survey123 unique id, so you may want to use pulldata("@property", 'userAgent')&amp;nbsp; or something else to fill a question with a property.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION1_D52683929B1C4543B236BAC00E7F1876&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To your question, I don't believe anything outside of general SQL queries (field=value) works in the inbox query expression. The username is an exception to this, and has to be called by ${username}, regardless of the survey design.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_635E85B962D64E699F1C277423026A52" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_635E85B962D64E699F1C277423026A52&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 04:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inbox-query-expression/m-p/1290942#M49385</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-05-19T04:22:49Z</dc:date>
    </item>
  </channel>
</rss>

