<?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: String or binary data would be truncated- pinpointing and fixing error. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235919#M46276</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;. I need the file name for the photos so I can work with them once downloaded.&lt;/P&gt;&lt;P&gt;Where can I set the file name to be larger with&amp;nbsp;&lt;SPAN&gt;bind::esri:fieldLength in Connect or Survey123?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then do I just have to save the XLSX and re-publish? If I re-publish will I lose the data already collected?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 15:29:02 GMT</pubDate>
    <dc:creator>mcbeth99</dc:creator>
    <dc:date>2022-11-29T15:29:02Z</dc:date>
    <item>
      <title>String or binary data would be truncated- pinpointing and fixing error.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235870#M46271</link>
      <description>&lt;P&gt;I don't think I have the understanding to figure this one out myself. I created a survey in Connect which was a copy of a previous survey.&amp;nbsp; I am not sure what if anything I changed from the original that worked just fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had two surveyors in the field and one was able to submit most of their forms with a handful that wouldn't send and gave her this error.&amp;nbsp; The other surveyor couldn't send any of their forms and is getting this error.&lt;/P&gt;&lt;P&gt;I get that the problem is the data being collected is longer than a field is set up for however I am not sure how to figure out which field it is or how to fix it.&amp;nbsp; Is there a way to fix it?&lt;/P&gt;&lt;P&gt;Example screen shot of the error is attached along with the XLSX Form from Connect.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 13:55:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235870#M46271</guid>
      <dc:creator>mcbeth99</dc:creator>
      <dc:date>2022-11-29T13:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: String or binary data would be truncated- pinpointing and fixing error.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235885#M46272</link>
      <description>&lt;P&gt;My guess would be&amp;nbsp;FileName.&amp;nbsp; I think what you have will list all the file names which can easily go over 255 chars since the internal names are large.&amp;nbsp; Not sure why you would need this list so you can remove it.&amp;nbsp; Or make it larger using the&amp;nbsp;bind::esri:fieldLength.&amp;nbsp; If it is just for user display you can set&amp;nbsp;bind::esri:fieldType to null.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 14:29:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235885#M46272</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-11-29T14:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: String or binary data would be truncated- pinpointing and fixing error.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235919#M46276</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;. I need the file name for the photos so I can work with them once downloaded.&lt;/P&gt;&lt;P&gt;Where can I set the file name to be larger with&amp;nbsp;&lt;SPAN&gt;bind::esri:fieldLength in Connect or Survey123?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then do I just have to save the XLSX and re-publish? If I re-publish will I lose the data already collected?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 15:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235919#M46276</guid>
      <dc:creator>mcbeth99</dc:creator>
      <dc:date>2022-11-29T15:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: String or binary data would be truncated- pinpointing and fixing error.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235935#M46279</link>
      <description>&lt;P&gt;The file names would be in the attach table so you can get them from there also if that works.&amp;nbsp; I download and rename then all in script.&lt;/P&gt;&lt;P&gt;You set the field length in Connect yes and republish.&amp;nbsp; I am not actually sure if it will let you up the field length I forget.&amp;nbsp; SQL you can not sure on hosted.&amp;nbsp; It will warn you so you can test it but make a backup for sure.&amp;nbsp; Worse case you have to download then upload the data from backup back to the service.&lt;/P&gt;&lt;P&gt;There is a page somewhere that lists all the things you can change without a data wipe.&amp;nbsp; But I do not see it listed.&amp;nbsp;&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/browser/create-surveys/publishsurvey.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/browser/create-surveys/publishsurvey.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Someone may know.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 15:43:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/string-or-binary-data-would-be-truncated/m-p/1235935#M46279</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-11-29T15:43:53Z</dc:date>
    </item>
  </channel>
</rss>

