<?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: survey123 error code 1000 - conversion failed when converting from a character string to unique identifier  in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819947#M15578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected this might be the case. &amp;nbsp;If you change the hidden question to a text question, do the GlobalIDs display with curly braces already? &amp;nbsp;This can occur depending on the application launching Survey123 and Survey123 will try to automatically add the curly braces. &amp;nbsp;We are working to prevent this from being an issue in the future, but in the meantime, this can be worked around:&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;1. Have the value load into a hidden question with fieldType of null . &amp;nbsp;Let's call this question&amp;nbsp;&lt;EM style="border: 0px; font-weight: inherit;"&gt;incoming&lt;/EM&gt;.&lt;/P&gt;&lt;P style="border: 0px;"&gt;2. Have the REL_GlobalID question&amp;nbsp;be a calculate question that checks for curly braces and removes if present:&lt;/P&gt;&lt;PRE style="border: 0px;"&gt;if(regex(${incoming}, '^\{[\w\-]*\}$'), substr(${incoming},1, string-length(${incoming}) - 1), ${incoming})&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2018 19:55:18 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-04-19T19:55:18Z</dc:date>
    <item>
      <title>survey123 error code 1000 - conversion failed when converting from a character string to unique identifier</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819944#M15575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for more information on this error code. This form is writing to a related table in a feature service hosted in AGOL. I built the survey in Connect Version 2.6.4 and it is being used on iPads and the desktop application.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 15:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819944#M15575</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-19T15:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 error code 1000 - conversion failed when converting from a character string to unique identifier</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819945#M15576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that your form has a hidden question called REL_GlobalID - how is this getting populated? &amp;nbsp;Given the error code (converting an answer into a unique identifier), it most likely relates to this question (which is outputting to a GUID field).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:35:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819945#M15576</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-04-19T19:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 error code 1000 - conversion failed when converting from a character string to unique identifier</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819946#M15577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the survey123 costume URL schema to pass the field REL_GlobalID.&amp;nbsp;Users are accessing the survey from hyperlink in the point features pop-up from our WebApp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arcgis-survey123://?itemID=9ca813b0c3664fafb2014aae3f17a08b&amp;amp;field:SWMID={SWMID}&amp;amp;field:GenBMPType={GenBMPType}&amp;amp;field:SpecBMPType={BasinType}{InfilType}{FiltrType}{MTDType}{MTDFilType}{MTDHydType}{MiscType}&amp;amp;field:BMPFunc={BMPFunc}&amp;amp;field:Rel_GlobalID={GlobalID}&lt;/EM&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is only intermittent, we have submitted many surveys successfully.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:50:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819946#M15577</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-19T19:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: survey123 error code 1000 - conversion failed when converting from a character string to unique identifier</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819947#M15578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspected this might be the case. &amp;nbsp;If you change the hidden question to a text question, do the GlobalIDs display with curly braces already? &amp;nbsp;This can occur depending on the application launching Survey123 and Survey123 will try to automatically add the curly braces. &amp;nbsp;We are working to prevent this from being an issue in the future, but in the meantime, this can be worked around:&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;1. Have the value load into a hidden question with fieldType of null . &amp;nbsp;Let's call this question&amp;nbsp;&lt;EM style="border: 0px; font-weight: inherit;"&gt;incoming&lt;/EM&gt;.&lt;/P&gt;&lt;P style="border: 0px;"&gt;2. Have the REL_GlobalID question&amp;nbsp;be a calculate question that checks for curly braces and removes if present:&lt;/P&gt;&lt;PRE style="border: 0px;"&gt;if(regex(${incoming}, '^\{[\w\-]*\}$'), substr(${incoming},1, string-length(${incoming}) - 1), ${incoming})&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 19:55:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-error-code-1000-conversion-failed-when/m-p/819947#M15578</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-04-19T19:55:18Z</dc:date>
    </item>
  </channel>
</rss>

