<?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 URL parameter to Survey123 does not work in the offline map - SQLite/ 'gdb_to_date' error? in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162369#M2937</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using a combination of Field Maps and Survey123 in various solutions, and never encountered this error before.&amp;nbsp; It looks like the error was associated with a particular layer, but I am not sure how I can narrow down the problem. Here is my workflow&lt;/P&gt;&lt;P&gt;- Users will create a point in the Field Maps.&lt;/P&gt;&lt;P&gt;- a few expressions will extract values from reference layers and pass them as parameters to Survey123&lt;/P&gt;&lt;P&gt;- The expressions are:&lt;/P&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;EM&gt;Finding the nearest address information&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Finding the overlapping parcel ID&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Finding the overlapping &lt;STRONG&gt;regional boundary name&amp;nbsp; (error message indicates this layer)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Extracting X, Y locations&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I did test on my iphone&lt;/STRONG&gt;. It works perfect during online, but once I download offline area maps, it does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Works fine during online&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-- Then I downloaded offline area and test it in both online/ offline&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Does not work in the downloaded map during offline&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Does not work in the downloaded map &lt;STRONG&gt;during online&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;==&amp;gt; So the expression works fine but it does not work once the map is downloaded.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I was able to see the error message, and there is detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Expression Name: expr6 (temp exp)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Expression Title: boundaryLayer (temp name)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error Domain: com.esri.arcgis.runtime.error&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error Code: 1001&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error Description: SQLite error., SQLite:1&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Generic error&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;no such column: gdb_to_date&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Based on the error message, it sounds like my expression is incorrect but it works fine during online. I am not sure where to look into.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;K&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2022 15:45:57 GMT</pubDate>
    <dc:creator>KerryKang</dc:creator>
    <dc:date>2022-04-08T15:45:57Z</dc:date>
    <item>
      <title>URL parameter to Survey123 does not work in the offline map - SQLite/ 'gdb_to_date' error?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162369#M2937</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using a combination of Field Maps and Survey123 in various solutions, and never encountered this error before.&amp;nbsp; It looks like the error was associated with a particular layer, but I am not sure how I can narrow down the problem. Here is my workflow&lt;/P&gt;&lt;P&gt;- Users will create a point in the Field Maps.&lt;/P&gt;&lt;P&gt;- a few expressions will extract values from reference layers and pass them as parameters to Survey123&lt;/P&gt;&lt;P&gt;- The expressions are:&lt;/P&gt;&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;&lt;EM&gt;Finding the nearest address information&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Finding the overlapping parcel ID&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Finding the overlapping &lt;STRONG&gt;regional boundary name&amp;nbsp; (error message indicates this layer)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Extracting X, Y locations&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I did test on my iphone&lt;/STRONG&gt;. It works perfect during online, but once I download offline area maps, it does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Works fine during online&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;-- Then I downloaded offline area and test it in both online/ offline&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Does not work in the downloaded map during offline&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;- Does not work in the downloaded map &lt;STRONG&gt;during online&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;==&amp;gt; So the expression works fine but it does not work once the map is downloaded.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I was able to see the error message, and there is detail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Expression Name: expr6 (temp exp)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Expression Title: boundaryLayer (temp name)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error Domain: com.esri.arcgis.runtime.error&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error Code: 1001&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Error Description: SQLite error., SQLite:1&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Generic error&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;no such column: gdb_to_date&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Based on the error message, it sounds like my expression is incorrect but it works fine during online. I am not sure where to look into.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thank you!&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;K&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 15:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162369#M2937</guid>
      <dc:creator>KerryKang</dc:creator>
      <dc:date>2022-04-08T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: URL parameter to Survey123 does not work in the offline map - SQLite/ 'gdb_to_date' error?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162428#M2939</link>
      <description>&lt;P&gt;Can you please share more information?&lt;/P&gt;&lt;P&gt;What is the expression to calculate the values?&lt;/P&gt;&lt;P&gt;What is the custom URL? Does it work if you manually populate values (i.e. not use expressions)?&lt;/P&gt;&lt;P&gt;When you say works online, do you mean in the web browser or ArcGIS Field Maps prior to offline packaging?&lt;/P&gt;&lt;P&gt;What versions/platforms?&lt;/P&gt;&lt;P&gt;At a glance, I would hazard a guess that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The expression is working in the web map viewer but may yet be supported in Field Maps (Arcade expression to call a reference from another layer)? I'm not up to speed on the latest updates&lt;/LI&gt;&lt;LI&gt;Same as the above, but specific to offline maps (I've noticed some ArcGIS Field Maps functionality did not make it across to offline - such as group layers in the beta.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I think isolating the issue will help here. I think we can say that it's not a Survey123 issue, as the error is in field maps when the expression is processed?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 07:49:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162428#M2939</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2022-04-08T07:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: URL parameter to Survey123 does not work in the offline map - SQLite/ 'gdb_to_date' error?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162590#M2947</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412943"&gt;@ChristopherCounsell&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my expression. It's been applied within the point layer that users use to create an assessment point. Based on the x, y values of the point layer, the expression extract the overlapping regional boundaries name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;var RBD = FeatureSetById($map,&amp;nbsp; "Layer_ID")&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;var Int_point =Intersects($feature, RDB)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;var Intersect_Region = ''&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;for (var row in Int_point){&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Intersect_Region = row.REGION_NAME&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;return Intersect_Region&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All my test was done on mobile device (iPhone) - updated my questions above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the exact the same expression above to fond overlapping parcels and it works fine. But only this regional layer causes the problem. I think the issue comes from the layer or somehow my expression does not work with this layer when the map is downloaded for offline use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;K&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 15:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/url-parameter-to-survey123-does-not-work-in-the/m-p/1162590#M2947</guid>
      <dc:creator>KerryKang</dc:creator>
      <dc:date>2022-04-08T15:42:26Z</dc:date>
    </item>
  </channel>
</rss>

