<?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: Default value of field not accessible via arcpy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659972#M51284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It appears they added defaultValue into arcpy in version 10.1, so I assume you're using an earlier version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2014 14:12:23 GMT</pubDate>
    <dc:creator>BradPosthumus</dc:creator>
    <dc:date>2014-06-26T14:12:23Z</dc:date>
    <item>
      <title>Default value of field not accessible via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659971#M51283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Python/arcpy field class does not have a defaultValue property!&amp;nbsp; Is that an oversight, or a deliberate feature of arcpy's field class?&amp;nbsp; I know the IField interface (ArcObjects) will provide the defaultValue, but using comtypes is a hassle.&amp;nbsp; Any other way of getting the default field value using Python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 18:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659971#M51283</guid>
      <dc:creator>KerryAlley</dc:creator>
      <dc:date>2014-06-23T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Default value of field not accessible via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659972#M51284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It appears they added defaultValue into arcpy in version 10.1, so I assume you're using an earlier version?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 14:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659972#M51284</guid>
      <dc:creator>BradPosthumus</dc:creator>
      <dc:date>2014-06-26T14:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Default value of field not accessible via arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659973#M51285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaaargh!&amp;nbsp; You're right!&amp;nbsp; The field.defaultValue *is* a valid property...it just isn't documented in 10.1 or 10.2!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was relying on the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018z0000004n000000"&gt;documentation&lt;/A&gt;&lt;SPAN&gt; for the arcpy field class.&amp;nbsp; I also tried searching the 10.2 help for "defaultValue," and finally gave up and parsed the default values out of the metadata xml files (ugh!).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I submitted feedback through the Help pages, so hopefully that will be updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kerry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 14:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/default-value-of-field-not-accessible-via-arcpy/m-p/659973#M51285</guid>
      <dc:creator>KerryAlley</dc:creator>
      <dc:date>2014-06-26T14:52:46Z</dc:date>
    </item>
  </channel>
</rss>

