<?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: CreateMapPaneAsync creates a new pane everytime in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785928#M1255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌ Thanks for sharing the sample. I have tried that and it didn't help. I have created a&amp;nbsp;add-in to&amp;nbsp;demonstrate the issue&amp;nbsp;and attached herewith along with a sample project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The sample add-in saves maps to a folder on computer as mapx files looping through all maps. The first map opens and saves perfectly fine. But when it tries to open second map and save it, the execution stops at this line of code&lt;BR /&gt;var activePane = await ProApp.Panes.CreateMapPaneAsync(item.GetMap());&lt;BR /&gt;&lt;BR /&gt;At this point actually a map pane with the map is created by not initialized &amp;amp; activated. &lt;BR /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/495957_pastedImage_2.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;The execution moves further only one when I select the second tab and the debugger point&amp;nbsp; shown below hits. If I do not select the pane manually, it never completes execution.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/495956_pastedImage_1.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Could you take a look and let me know how to make the pane initialized and activated automatically?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2020 20:37:37 GMT</pubDate>
    <dc:creator>sai_phaneendra</dc:creator>
    <dc:date>2020-06-08T20:37:37Z</dc:date>
    <item>
      <title>CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785925#M1252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar codeblock in my application as shown here in the Pro SDK Wiki &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapAuthoring#find-a-map-within-a-project-and-open-it"&gt;snippets&lt;/A&gt;. I run this code&amp;nbsp;when I need to access the map pane by name. It creates a new map pane everytime this code is run, is there a way to check and retrieve or select existing pane and if not able then to create it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2020 06:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785925#M1252</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-06T06:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785926#M1253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, the created map is not set as active view by default. I even tried to activate the view explicitly as shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMapPane activePane = await ProApp.Panes.CreateMapPaneAsync(aoMaps.ElementAt(i).GetMap());&lt;BR /&gt;var currentPane = activePane as Pane;&lt;BR /&gt; if (currentPane != null)&lt;BR /&gt; currentPane.Activate();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2020 16:35:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785926#M1253</guid>
      <dc:creator>Vamsi_KrishnaYarramaasu</dc:creator>
      <dc:date>2020-06-06T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785927#M1254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the following sample implements what you want to do:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/OpenMapViews"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/OpenMapViews&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 16:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785927#M1254</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-06-08T16:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785928#M1255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌ Thanks for sharing the sample. I have tried that and it didn't help. I have created a&amp;nbsp;add-in to&amp;nbsp;demonstrate the issue&amp;nbsp;and attached herewith along with a sample project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The sample add-in saves maps to a folder on computer as mapx files looping through all maps. The first map opens and saves perfectly fine. But when it tries to open second map and save it, the execution stops at this line of code&lt;BR /&gt;var activePane = await ProApp.Panes.CreateMapPaneAsync(item.GetMap());&lt;BR /&gt;&lt;BR /&gt;At this point actually a map pane with the map is created by not initialized &amp;amp; activated. &lt;BR /&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/495957_pastedImage_2.png" /&gt;&lt;BR /&gt;&lt;BR /&gt;The execution moves further only one when I select the second tab and the debugger point&amp;nbsp; shown below hits. If I do not select the pane manually, it never completes execution.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/495956_pastedImage_1.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Could you take a look and let me know how to make the pane initialized and activated automatically?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 20:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785928#M1255</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-08T20:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785929#M1256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I duplicated your issue with my sample add-in,&amp;nbsp;I can create one or two (at most) map panes before the [map pane creation] thread will hang.&amp;nbsp; I am checking with the developers for any workarounds.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 20:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785929#M1256</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-06-08T20:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785930#M1257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌, I will look forward for your response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2020 21:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785930#M1257</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-09T21:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785931#M1258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Besides the issue regarding the&amp;nbsp;map pane initialization and activation, i think the you can implement your workflow, saving all maps in a common folder', because it is possible without first showing a map view pane.&amp;nbsp; You can save the maps as follows:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;protected&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;override&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;async&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;OnClick&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; pathToSaveFiles &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;@"c:\temp\maps"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;System&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IO&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Directory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Exists&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pathToSaveFiles&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        System&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IO&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Directory&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateDirectory&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pathToSaveFiles&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; mapProjItems &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Project&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Current&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GetItems&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;MapProjectItem&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;try&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; QueuedTask&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Run&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; mapPro &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; mapProjItems&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    mapPro&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;SaveAsFile&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;System&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IO&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Combine&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pathToSaveFiles&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; $&lt;SPAN class="string token"&gt;@"{mapPro.Name}.mapx"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;catch&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token class-name"&gt;Exception&lt;/SPAN&gt; ex&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        MessageBox&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Show&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$&lt;SPAN class="string token"&gt;@"Error: {ex}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
    MessageBox&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Show&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Done"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I attached the sample project I used to duplicate your issued and also this code.&amp;nbsp; If you want to run the sample, you need to download and use the 'C:\Data\Admin\AdminSample.aprx' project which comes with the community sample dataset here:&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/releases" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/releases&lt;/A&gt;&amp;nbsp; then click the 'CreateMaps' button followed by the 'SaveMaps' button which saves the map files to c:\temp\maps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:57:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785931#M1258</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-12-12T08:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785932#M1259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;Thanks for the sample and suggestion&amp;nbsp;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="10927" data-objecttype="3" href="https://community.esri.com/people/wkaiser-esristaff" style="color: #287433; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Wolfgang Kaiser&lt;/A&gt;.&amp;nbsp;The sample I shared&amp;nbsp;is built to just demonstrate the problem.&amp;nbsp;In real, there is some&amp;nbsp;some custom processing&amp;nbsp;to do activating the map panes automatically one after the other.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 18:57:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785932#M1259</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-10T18:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785933#M1260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am not able to duplicate any problems with activation of a mapview pane unless it is done in a tight loop with no user interaction with the mapview pane (other than just displaying and activating it).&amp;nbsp; To activate a mapview pane you can lift the code from this sample:&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/OpenMapViews"&gt;https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/OpenMapViews&lt;/A&gt;&amp;nbsp;&amp;nbsp;and you can then do your custom processing on the active map view.&amp;nbsp; Once you're done with your 'custom processing' and done saving your map, you can then repeat the same cycle for the next item.&amp;nbsp; I have not seem any issues with this workflow, maybe if you can elaborate what type of processing you are doing i can try to duplicate the issue.&amp;nbsp; There are plenty of issues that could be the cause of a hang but the pane activation for this type of workflow is not the reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 19:42:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785933#M1260</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-06-10T19:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: CreateMapPaneAsync creates a new pane everytime</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785934#M1261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, I will try with the code in the sample and see if the issue is bypassed. Also, please&amp;nbsp;post back&amp;nbsp;when you hear from developers. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 20:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/createmappaneasync-creates-a-new-pane-everytime/m-p/785934#M1261</guid>
      <dc:creator>sai_phaneendra</dc:creator>
      <dc:date>2020-06-10T20:08:40Z</dc:date>
    </item>
  </channel>
</rss>

