<?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 How do you remove all joins on a layer programmatically using the ArcGIS Pro SDK? in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-remove-all-joins-on-a-layer/m-p/802991#M2033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that you can probably do it using the GP tools, but you need to know the join name.&lt;/P&gt;&lt;P&gt;How can you do it without knowing anything about the layer and just insure that you don't have any joins on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2019 14:58:20 GMT</pubDate>
    <dc:creator>PascalVezina</dc:creator>
    <dc:date>2019-09-20T14:58:20Z</dc:date>
    <item>
      <title>How do you remove all joins on a layer programmatically using the ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-remove-all-joins-on-a-layer/m-p/802991#M2033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that you can probably do it using the GP tools, but you need to know the join name.&lt;/P&gt;&lt;P&gt;How can you do it without knowing anything about the layer and just insure that you don't have any joins on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 14:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-remove-all-joins-on-a-layer/m-p/802991#M2033</guid>
      <dc:creator>PascalVezina</dc:creator>
      <dc:date>2019-09-20T14:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you remove all joins on a layer programmatically using the ArcGIS Pro SDK?</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-remove-all-joins-on-a-layer/m-p/802992#M2034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pascal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From a FeatureLayer you can get a FeatureClass. &amp;nbsp;&lt;/P&gt;&lt;P&gt;FeatureClass has a method on it called &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic14583.html"&gt;IsJoinedTable&lt;/A&gt;. &amp;nbsp;If this method returns true, the feature class is the actual join. &amp;nbsp; &amp;nbsp;At that point, calling FeatureClass.GetName() will return the name of the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there is no Pro SDK routine to remove the join from the layer, but now that you know the name of the join you can use&amp;nbsp;geoprocessing in order to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2019 22:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-do-you-remove-all-joins-on-a-layer/m-p/802992#M2034</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2019-09-30T22:55:04Z</dc:date>
    </item>
  </channel>
</rss>

