<?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: Append_management string equivalent for a boolean field in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693843#M4755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nor here...&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/field.htm" rel="nofollow" target="_blank"&gt;http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/field.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 16:49:18 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-08-10T16:49:18Z</dc:date>
    <item>
      <title>Append_management string equivalent for a boolean field</title>
      <link>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693841#M4753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a python script we already have to import data from Excel to a geodatabase table. The field is now a boolean in the table and I'm using: listed \"listed\" true true false 50 &lt;STRONG&gt;Text&lt;/STRONG&gt; 0 0 ,First,#,c:\\temp\\agol.csv,listed,-1,-1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I get is: "ExecuteError: ERROR 001156: Failed on input OID -1, could not write value 'False' to output field listed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I need to change my field mapping to: listed \"listed\" true true false 50 &lt;STRONG&gt;Boolean&lt;/STRONG&gt; 0 0 ,First,#,c:\\temp\\agol.csv,listed,-1,-1; but that still gives the same error. What are the valid field types that go in this position of a field mapping string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 15:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693841#M4753</guid>
      <dc:creator>AllanAxon</dc:creator>
      <dc:date>2015-08-10T15:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Append_management string equivalent for a boolean field</title>
      <link>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693842#M4754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the data type of your field truly "Boolean" or perhaps a 1-digit integer or a text field? I don't see Boolean listed as a valid &lt;A href="https://desktop.arcgis.com/en/desktop/latest/manage-data/databases/dbms-data-types-supported.htm"&gt;ArcGIS data type&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693842#M4754</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-08-10T16:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Append_management string equivalent for a boolean field</title>
      <link>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693843#M4755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nor here...&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/field.htm" rel="nofollow" target="_blank"&gt;http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/field.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693843#M4755</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-08-10T16:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Append_management string equivalent for a boolean field</title>
      <link>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693844#M4756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My data type in SQLServer (destination) is bit, not null. In the Excel sheet (origin) it's either "TRUE" or "FALSE"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693844#M4756</guid>
      <dc:creator>AllanAxon</dc:creator>
      <dc:date>2015-08-10T16:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Append_management string equivalent for a boolean field</title>
      <link>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693845#M4757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field type in SQLServer is a bit field. I got by this problem by converting all the False values in the spreadsheet to 0 and the Trues to 1 and reading them as text. Will have to look at the design of the table for a long term fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 19:08:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/append-management-string-equivalent-for-a-boolean/m-p/693845#M4757</guid>
      <dc:creator>AllanAxon</dc:creator>
      <dc:date>2015-08-10T19:08:27Z</dc:date>
    </item>
  </channel>
</rss>

