<?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: Geo Prmg Model 9.3 to get at the Primary Key property of a relationshipclass in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148339#M11518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems in the v9.3 OMD you can get a field list of the (I assume) fields involved in the relationship class...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to do it though:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create(9.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dsc = gp.describe(r"\\snarf\am\div_lm\ds\gis\tools\sde_connections_read\ropa_gis_layer_user.sde\CADASTRE.DOCUMENT_TO_PARCEL") # a relationship class BTW&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fieldList = dsc.fields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print fieldList&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just get [] (a blank list!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like a bug... Maybe it works in v10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 19:46:37 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2010-11-23T19:46:37Z</dc:date>
    <item>
      <title>Geo Prmg Model 9.3 to get at the Primary Key property of a relationshipclass</title>
      <link>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148338#M11517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know if we can get to at a Primary Key Name property of a relationship class? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI: thanks for the new model diagram with the Describe Object expanded!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am going to the relationshipclass through the GDB FeatureClass Properties.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 15:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148338#M11517</guid>
      <dc:creator>justinperez</dc:creator>
      <dc:date>2010-11-23T15:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Geo Prmg Model 9.3 to get at the Primary Key property of a relationshipclass</title>
      <link>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148339#M11518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems in the v9.3 OMD you can get a field list of the (I assume) fields involved in the relationship class...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to do it though:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create(9.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dsc = gp.describe(r"\\snarf\am\div_lm\ds\gis\tools\sde_connections_read\ropa_gis_layer_user.sde\CADASTRE.DOCUMENT_TO_PARCEL") # a relationship class BTW&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fieldList = dsc.fields&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print fieldList&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just get [] (a blank list!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like a bug... Maybe it works in v10?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 19:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148339#M11518</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-11-23T19:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Geo Prmg Model 9.3 to get at the Primary Key property of a relationshipclass</title>
      <link>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148340#M11519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Chris. I'll give it a study!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 13:41:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geo-prmg-model-9-3-to-get-at-the-primary-key/m-p/148340#M11519</guid>
      <dc:creator>justinperez</dc:creator>
      <dc:date>2010-11-24T13:41:59Z</dc:date>
    </item>
  </channel>
</rss>

