<?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: Importing data from an ESRI Server connection in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313655#M44633</link>
    <description>&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;Thank you, I understand, which I am learning. The issue is not so much Python, but what function to use to import data from a server connection into a GDB. Thank you again.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2023 15:39:04 GMT</pubDate>
    <dc:creator>AnthonyCarbo</dc:creator>
    <dc:date>2023-07-31T15:39:04Z</dc:date>
    <item>
      <title>Importing data from an ESRI Server connection</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1312782#M44629</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I do not have any code, but I question is can you use python to import data from a ESRI Server connection into a File Geodatabase? For example, if I add the data from the Server into my workspace and use the code:&lt;/P&gt;&lt;P&gt;arcpy.conversion.FeatureClassToGeodatabase("Regions",r"C:\Users\name\Documents\ArcGIS\Projects\&lt;/P&gt;&lt;P&gt;COData\CODData.gdb")&lt;/P&gt;&lt;P&gt;NOTE: The code is one line, its two here because it fit better.&lt;/P&gt;&lt;P&gt;Works fine, but I would like to find a way to connect to the server and then automate the import for either all or a specific feature class(es). Any input would be greatly appreciated. Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 19:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1312782#M44629</guid>
      <dc:creator>AnthonyCarbo</dc:creator>
      <dc:date>2023-07-27T19:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data from an ESRI Server connection</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1312808#M44630</link>
      <description>&lt;P&gt;You can write a custom python script using arcpy. Please look into the arcpy api help for more information.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listfeatureclasses.htm" target="_blank"&gt;ListFeatureClasses—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/listtables.htm" target="_blank"&gt;ListTables—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 20:13:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1312808#M44630</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-07-27T20:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data from an ESRI Server connection</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313126#M44631</link>
      <description>&lt;P&gt;Python is the world's easiest computer language to learn.&lt;/P&gt;&lt;P&gt;Automating ArcGIS loading is as simple as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Completing the first few chapters of an intro Python book (or online class)&lt;/LI&gt;&lt;LI&gt;Completing at least one free online intro ArcPy training&lt;/LI&gt;&lt;LI&gt;Performing at least part of the task manually using Desktop&lt;/LI&gt;&lt;LI&gt;Going into the Geoprocessing Results log and using "Copy as Python Snippet..."&lt;/LI&gt;&lt;LI&gt;Pasting the snippet into a new script&amp;nbsp; with an &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;import arcpy&lt;/FONT&gt;&lt;/STRONG&gt; at the top&lt;/LI&gt;&lt;LI&gt;Altering the singleton command to be in a looping construct (usually a &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;for&lt;/STRONG&gt;&lt;/FONT&gt; loop)&lt;/LI&gt;&lt;LI&gt;Annotating your code with a ton of &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;arcpy.AddMessage&lt;/STRONG&gt;&lt;/FONT&gt; or &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;print&lt;/FONT&gt;&lt;/STRONG&gt; statements&lt;/LI&gt;&lt;LI&gt;Test it over and over until you've got it right.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;That's it. Of course, there are many levels of complexity available with a programming language as powerful as Python, but you can start that next week.&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 15:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313126#M44631</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2023-07-28T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data from an ESRI Server connection</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313654#M44632</link>
      <description>&lt;P&gt;Marcelo,&lt;/P&gt;&lt;P&gt;Thank you, that is what I am trying to do, I have scripts for importing, and other work using arcpy. I am just not sure of the way to create one that pulls the data from a server connection. For example, if I pull the data down into a workspace in Arc, I can then use a script to import it into a GDB, but I cannot figure out how to import from the connection that is in ArcCatalog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:36:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313654#M44632</guid>
      <dc:creator>AnthonyCarbo</dc:creator>
      <dc:date>2023-07-31T15:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data from an ESRI Server connection</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313655#M44633</link>
      <description>&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;Thank you, I understand, which I am learning. The issue is not so much Python, but what function to use to import data from a server connection into a GDB. Thank you again.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 15:39:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-data-from-an-esri-server-connection/m-p/1313655#M44633</guid>
      <dc:creator>AnthonyCarbo</dc:creator>
      <dc:date>2023-07-31T15:39:04Z</dc:date>
    </item>
  </channel>
</rss>

