<?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 Get Archive class using arcpy in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033836#M38227</link>
    <description>&lt;P&gt;Hi! I need to copy some datasets, feature classes and tables from SDE to GDB &lt;STRONG&gt;including archive tables and classes&amp;nbsp;&lt;/STRONG&gt;if they exist. I would like to use arcpy scripting for that but I haven't found the way how to get archive data in python. I know that I can check if feature class is archived like that:&lt;/P&gt;&lt;PRE&gt;describe = arcpy.Describe(featureClass)&lt;BR /&gt;isArch = describe.IsArchived&lt;BR /&gt;if isArch:&lt;BR /&gt;    &lt;EM&gt;do something..&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but how can I get the archive class itself???&lt;/P&gt;&lt;P&gt;In desktop it is possible to load and view this archive class, so I suppose it is possible somehow with arcpy as well..&lt;/P&gt;</description>
    <pubDate>Mon, 08 Mar 2021 07:48:39 GMT</pubDate>
    <dc:creator>kirken</dc:creator>
    <dc:date>2021-03-08T07:48:39Z</dc:date>
    <item>
      <title>Get Archive class using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033836#M38227</link>
      <description>&lt;P&gt;Hi! I need to copy some datasets, feature classes and tables from SDE to GDB &lt;STRONG&gt;including archive tables and classes&amp;nbsp;&lt;/STRONG&gt;if they exist. I would like to use arcpy scripting for that but I haven't found the way how to get archive data in python. I know that I can check if feature class is archived like that:&lt;/P&gt;&lt;PRE&gt;describe = arcpy.Describe(featureClass)&lt;BR /&gt;isArch = describe.IsArchived&lt;BR /&gt;if isArch:&lt;BR /&gt;    &lt;EM&gt;do something..&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but how can I get the archive class itself???&lt;/P&gt;&lt;P&gt;In desktop it is possible to load and view this archive class, so I suppose it is possible somehow with arcpy as well..&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 07:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033836#M38227</guid>
      <dc:creator>kirken</dc:creator>
      <dc:date>2021-03-08T07:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Get Archive class using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033876#M38235</link>
      <description>&lt;P&gt;a link with some hope&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-questions/access-archived-table-via-arcpy/m-p/471999#M36870" target="_blank"&gt;Solved: Access archived table via arcpy - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 11:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033876#M38235</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-03-08T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get Archive class using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033880#M38236</link>
      <description>&lt;P&gt;yep, I found this as well and it kinda works for tables and feature classes but I have to figure out how to copy archive data from featureDatasets as well. Probably need to iterate through them somehow.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 12:08:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033880#M38236</guid>
      <dc:creator>kirken</dc:creator>
      <dc:date>2021-03-08T12:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get Archive class using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033886#M38237</link>
      <description>&lt;P&gt;There is lots of "listing" options&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listdatasets.htm" target="_blank"&gt;ListDatasets—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which you can iterate through&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 12:19:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/get-archive-class-using-arcpy/m-p/1033886#M38237</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-03-08T12:19:48Z</dc:date>
    </item>
  </channel>
</rss>

