<?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: How to get all relationshipclass properties using Python in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585496#M19352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jill! Just have to be patient I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 11:01:07 GMT</pubDate>
    <dc:creator>StevePeaslee</dc:creator>
    <dc:date>2013-11-26T11:01:07Z</dc:date>
    <item>
      <title>How to get all relationshipclass properties using Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585493#M19349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to get all the properties for a geodatabase relationshipclass. I can use a Python script to get most of the properties via the geoprocessing "Describe" but unless I'm missing something, the names of the primary and foreign key fields aren't exposed to this method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please point me in the right direction? There has to be a way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 12:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585493#M19349</guid>
      <dc:creator>StevePeaslee</dc:creator>
      <dc:date>2013-01-09T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all relationshipclass properties using Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585494#M19350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you ever find a solution to this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 19:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585494#M19350</guid>
      <dc:creator>brettangel</dc:creator>
      <dc:date>2013-11-22T19:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all relationshipclass properties using Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585495#M19351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At 10.2.1 release, it will be possible to obtain the origin and destination class keys via python using the Describe function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcpy.Describe(&amp;lt;relationshipclass&amp;gt;).OriginClassKeys&amp;nbsp; or
arcpy.Describe(&amp;lt;relationshipclass&amp;gt;).DestinationClassKeys&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result returned will look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[(u'OBJECTID', u'OriginPrimary', u''), (u'ParcelID', u'OriginForeign', u'')]
[(u'id', u'DestinationPrimary', u''), (u'RenterID', u'DestinationForeign', u'')]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585495#M19351</guid>
      <dc:creator>JillianPenney</dc:creator>
      <dc:date>2021-12-12T01:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get all relationshipclass properties using Python</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585496#M19352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jill! Just have to be patient I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 11:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-get-all-relationshipclass-properties-using/m-p/585496#M19352</guid>
      <dc:creator>StevePeaslee</dc:creator>
      <dc:date>2013-11-26T11:01:07Z</dc:date>
    </item>
  </channel>
</rss>

