<?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 Active map join issues with GP script tool in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/active-map-join-issues-with-gp-script-tool/m-p/1408695#M81739</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have a python script used as a GP tool in ArcGIS Pro 3.2, that makes a copy of a base project, and operates on the copy: applying a new FGDB to it, performing joins and layout manipulation, and spitting out a PDF of the layout. The base project's layout has two map frames, and I've found that if one is selected (shows as bold; one is always selected I've noticed), and then I save the project and run the tool (meaning the copy also shows this map frame as selected), a join on the layer in that 'active' map frame is&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; updated. It just refuses to update the join for the layer in that map frame (I've spit out lyr.connectionProperties for before and after join operations to compare). The layer in the other map frame has no problem with removing and creating a new join.&lt;/P&gt;&lt;P&gt;Has anyone ever encountered this before? Any good way around it? I am actively thinking of a way to circumvent this by changing the active map to the one I'm not working on, and then swap to work on the other map.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;- Jack C&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 19:21:59 GMT</pubDate>
    <dc:creator>__JackCharde__</dc:creator>
    <dc:date>2024-04-11T19:21:59Z</dc:date>
    <item>
      <title>Active map join issues with GP script tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/active-map-join-issues-with-gp-script-tool/m-p/1408695#M81739</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have a python script used as a GP tool in ArcGIS Pro 3.2, that makes a copy of a base project, and operates on the copy: applying a new FGDB to it, performing joins and layout manipulation, and spitting out a PDF of the layout. The base project's layout has two map frames, and I've found that if one is selected (shows as bold; one is always selected I've noticed), and then I save the project and run the tool (meaning the copy also shows this map frame as selected), a join on the layer in that 'active' map frame is&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; updated. It just refuses to update the join for the layer in that map frame (I've spit out lyr.connectionProperties for before and after join operations to compare). The layer in the other map frame has no problem with removing and creating a new join.&lt;/P&gt;&lt;P&gt;Has anyone ever encountered this before? Any good way around it? I am actively thinking of a way to circumvent this by changing the active map to the one I'm not working on, and then swap to work on the other map.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;- Jack C&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 19:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/active-map-join-issues-with-gp-script-tool/m-p/1408695#M81739</guid>
      <dc:creator>__JackCharde__</dc:creator>
      <dc:date>2024-04-11T19:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Active map join issues with GP script tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/active-map-join-issues-with-gp-script-tool/m-p/1408828#M81757</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;: I found a way around it, though I don't love it. In my base project, I added a blank MapFrame to each layout and ensured that this blank MapFrame was the selected one. Then I saved the base project and ran the tool against it. This updated all joins properly in the copy of the project, since the map frames with target layers for join updates were&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; selected. Not my favorite work-around, but it does work.&lt;/P&gt;&lt;P&gt;I would still love to know if anyone has encountered this and found a better way around it.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 16:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/active-map-join-issues-with-gp-script-tool/m-p/1408828#M81757</guid>
      <dc:creator>__JackCharde__</dc:creator>
      <dc:date>2024-04-12T16:50:07Z</dc:date>
    </item>
  </channel>
</rss>

