<?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: Describe Workspace properties don't work from CreateDatabaseConnectionString() in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1417030#M70494</link>
    <description>&lt;P&gt;Ah, boo. I see what you're saying. Off to &lt;A href="https://community.esri.com/t5/python-ideas/update-describe-to-handle-connection-strings/idi-p/1417029" target="_self"&gt;Python Ideas&lt;/A&gt;!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 14:28:49 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2024-04-30T14:28:49Z</dc:date>
    <item>
      <title>Describe Workspace properties don't work from CreateDatabaseConnectionString()</title>
      <link>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1416783#M70488</link>
      <description>&lt;P&gt;I'm testing out the new&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-connection-string.htm" target="_self"&gt;arcpy.management.CreateDatabaseConnectionString()&lt;/A&gt;&amp;nbsp;with a connection to a 10.8.1 enterprise geodatabase in Oracle, but I can't seem to get any workspace properties from &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/workspace-properties.htm" target="_self"&gt;Describe&lt;/A&gt;. Everything results in&amp;nbsp;&lt;FONT face="courier new,courier"&gt;OSError: "CIMDATA=&amp;lt;CIMStandardDataConnection xsi:type=&lt;/FONT&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;EM&gt;...rest of connection string&lt;/EM&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;" does not&lt;/FONT&gt; exist&lt;/P&gt;&lt;P&gt;If I create the connection with an object_name and schema so it points to a feature class, I can get layer properties from Describe and use things like ListFields(). So I know it can make some kind of usable connection. When testing, I'm only specifying&amp;nbsp;database_platform, instance, username, and password. Is there something I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 23:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1416783#M70488</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2024-04-29T23:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Describe Workspace properties don't work from CreateDatabaseConnectionString()</title>
      <link>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1416800#M70489</link>
      <description>&lt;P&gt;The function hasn't been updated to understand how to interpret a database connection string.&amp;nbsp; The results from CreateDatabaseConnectionString are a Python string, and Describe interprets a Python string to either be a path to a suitable item or the name of an instantiated ArcGIS Pro object, which the string from CreateDatabaseConnectionString is neither.&amp;nbsp; It is similar to passing the path of a CSV file vs passing the contents of a CSV file to Describe.&amp;nbsp; The function would know what to do with the former, but would give the same OSError on the latter because it doesn't understand that contents of a CSV file were just passed to it.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 23:51:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1416800#M70489</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2024-04-29T23:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Describe Workspace properties don't work from CreateDatabaseConnectionString()</title>
      <link>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1417030#M70494</link>
      <description>&lt;P&gt;Ah, boo. I see what you're saying. Off to &lt;A href="https://community.esri.com/t5/python-ideas/update-describe-to-handle-connection-strings/idi-p/1417029" target="_self"&gt;Python Ideas&lt;/A&gt;!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 14:28:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/describe-workspace-properties-don-t-work-from/m-p/1417030#M70494</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2024-04-30T14:28:49Z</dc:date>
    </item>
  </channel>
</rss>

