<?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: Repeat Inbox Where Expression in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809735#M13016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't have the&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: bold;"&gt;bind::esri:parameters&amp;nbsp;&lt;/SPAN&gt;set to query so I changed it. After republishing the error code changed to 400.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am publishing to Enterprise (portal) 10.7.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the log for the error(see below). It looks like it wants to search the parent feature service and not the child for the inbox where clause. layer 4 in the URL is the parent not the related table I would like the where clause to limit the inbox to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;PortalRequest: PortalRequest failed url: https://gis.fdacs.gov/mapping/rest/services/DPI/M_INDICA_DPI_PI_PROD/FeatureServer/4/query error: {&lt;BR /&gt; "code": 400,&lt;BR /&gt; "details": [&lt;BR /&gt; "Unable to perform query operation."&lt;BR /&gt; ],&lt;BR /&gt; "message": "Unable to complete operation."&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i trying to do something that isn't supported or do I have to format the where clause differently? My where clause is &lt;STRONG&gt;inspection_status='pending'&lt;/STRONG&gt;. &lt;STRONG&gt;inspection_status&lt;/STRONG&gt; is a field in the relate in which I'm trying to store a QA status of a inspection that reoccurs at a location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2020 19:22:24 GMT</pubDate>
    <dc:creator>GlenGardner1</dc:creator>
    <dc:date>2020-10-14T19:22:24Z</dc:date>
    <item>
      <title>Repeat Inbox Where Expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809733#M13014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can the where clause in the inbox query repeat records? I'm getting a Code 500 error when refreshing the inbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 20:48:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809733#M13014</guid>
      <dc:creator>GlenGardner1</dc:creator>
      <dc:date>2020-09-30T20:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Inbox Where Expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809734#M13015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can query repeat records using the&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: bold;"&gt;bind::esri:parameters&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt; column on the &lt;EM&gt;begin repeat&lt;/EM&gt; question type in the XLSForm. See this doc article for more information:&amp;nbsp;&lt;/SPAN&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_80CFFC9C38654DC293D4F36C5376C62E" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm#ESRI_SECTION1_80CFFC9C38654DC293D4F36C5376C62E"&gt;Prepare for editing existing survey data—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ae you using AGO or Enterprise (Portal) and if so what version? Are there any other details with the Code 500 error, are you able to enable diagnostic logs and start logging when you refresh the Inbox to see if any additional information in the logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2020 03:58:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809734#M13015</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-07T03:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Inbox Where Expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809735#M13016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Philip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't have the&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff; font-weight: bold;"&gt;bind::esri:parameters&amp;nbsp;&lt;/SPAN&gt;set to query so I changed it. After republishing the error code changed to 400.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am publishing to Enterprise (portal) 10.7.1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I searched the log for the error(see below). It looks like it wants to search the parent feature service and not the child for the inbox where clause. layer 4 in the URL is the parent not the related table I would like the where clause to limit the inbox to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;PortalRequest: PortalRequest failed url: https://gis.fdacs.gov/mapping/rest/services/DPI/M_INDICA_DPI_PI_PROD/FeatureServer/4/query error: {&lt;BR /&gt; "code": 400,&lt;BR /&gt; "details": [&lt;BR /&gt; "Unable to perform query operation."&lt;BR /&gt; ],&lt;BR /&gt; "message": "Unable to complete operation."&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i trying to do something that isn't supported or do I have to format the where clause differently? My where clause is &lt;STRONG&gt;inspection_status='pending'&lt;/STRONG&gt;. &lt;STRONG&gt;inspection_status&lt;/STRONG&gt; is a field in the relate in which I'm trying to store a QA status of a inspection that reoccurs at a location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 19:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809735#M13016</guid>
      <dc:creator>GlenGardner1</dc:creator>
      <dc:date>2020-10-14T19:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Inbox Where Expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809736#M13017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the exact expression you are using in the&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;bind::esri:parameters column?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;It should look similar to: query="inspection_status='pending'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Also, if you want to allow updating existing records you need to use:&amp;nbsp;&lt;SPAN&gt;allowUpdates=true&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;By default adding records is allwoed, but if you want to not allow adding new records, you can set that to false.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;Phil.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 22:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809736#M13017</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-14T22:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Inbox Where Expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809737#M13018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;bind::esri:parameters column is :&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;query="inspection_status='pending'" allowUpdates=true allowAdds=false&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&amp;nbsp;And my inbox settings are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/511045_pastedImage_15.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 17:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809737#M13018</guid>
      <dc:creator>GlenGardner1</dc:creator>
      <dc:date>2020-10-15T17:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Repeat Inbox Where Expression</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809738#M13019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which layer is the&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;inspection_status field in? The parent layer or the repeat/related layer?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;The "Query expression" in setting for the Inbox applies to parent layer, so any field you query here must be related to a field in the parent layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;The "query=" in the&amp;nbsp;&lt;SPAN&gt;bind::esri:parameters relates to the repeat/related layer,&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;so any field you query must be related to a field in the&amp;nbsp;repeat/related layer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Based on your screenshots above you are using the same query in both places, which will only work if there is a field in both parent and repeat called this exact same name.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Phil.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2020 22:43:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/repeat-inbox-where-expression/m-p/809738#M13019</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-15T22:43:57Z</dc:date>
    </item>
  </channel>
</rss>

