<?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: Recreate Relationship Class using C# / .NET for ArcGIS Pro 2.9.6 in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305397#M10005</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SchemaBuilder object has methods for relationship management but not in 2.9.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic40915.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic40915.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More documentation and samples in &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-DDL#relationships" target="_self"&gt;ProConcepts DDL&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 18:45:15 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2023-07-03T18:45:15Z</dc:date>
    <item>
      <title>Recreate Relationship Class using C# / .NET for ArcGIS Pro 2.9.6</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1304859#M10000</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have been struggling with writing&amp;nbsp;code for recreation of Relationship class in C# but I cannot swim out &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to recreate Relationship Class in FGDB using .NET &amp;nbsp;in order to change following properties of the Relationship Class:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Name of the relationship class&lt;/LI&gt;&lt;LI&gt;Origin Primary Key&lt;/LI&gt;&lt;LI&gt;Origin Foreign Key&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I imagine some kind or process would be:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pickup existing relationship class definition using source and target table names (I tried with RelationshipClassDefinition)&lt;/LI&gt;&lt;LI&gt;Change above mentioned properties (this is where I couldn’t move forward with RelationshipClassDefinition)&lt;/LI&gt;&lt;LI&gt;Drop existing Relationship Class&lt;/LI&gt;&lt;LI&gt;Create new relationship class with new parameters&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I see that in Pro 3.1 there is RelationshipClassDescription Class with which I could easily solve the probelm, but unfortunately I need to implement this task in Pro 2.9.6.&lt;/P&gt;&lt;P&gt;Thanks in advance for any suggestion.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 13:35:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1304859#M10000</guid>
      <dc:creator>DusanOstojic</dc:creator>
      <dc:date>2023-06-30T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Relationship Class using C# / .NET for ArcGIS Pro 2.9.6</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305397#M10005</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SchemaBuilder object has methods for relationship management but not in 2.9.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic40915.html" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic40915.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More documentation and samples in &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-DDL#relationships" target="_self"&gt;ProConcepts DDL&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 18:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305397#M10005</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2023-07-03T18:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Relationship Class using C# / .NET for ArcGIS Pro 2.9.6</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305425#M10007</link>
      <description>&lt;P&gt;Before release 3.0 you have to use the 'Create Relationship Class' Geoprocessing Tool in order to create a relationship class.&amp;nbsp; Since it's somewhat difficult to figure out the parameters to run a GP Tool you can follow the steps outlined in the slides for the 2023 Demo theater session (download) 'How to Run GP Tools from Your Add-in' here:&amp;nbsp;&lt;A href="https://github.com/arcgis/arcgis-pro-sdk/wiki/tech-sessions" target="_blank"&gt;Tech Sessions · ArcGIS/arcgis-pro-sdk Wiki (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 20:34:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305425#M10007</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-07-03T20:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate Relationship Class using C# / .NET for ArcGIS Pro 2.9.6</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305504#M10010</link>
      <description>&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;In this case I would rather implement Relationship class change in arcpy and wait for our upgrade to Pro 3.0.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 08:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/recreate-relationship-class-using-c-net-for-arcgis/m-p/1305504#M10010</guid>
      <dc:creator>DusanOstojic</dc:creator>
      <dc:date>2023-07-04T08:00:14Z</dc:date>
    </item>
  </channel>
</rss>

