<?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 Rename the Map/Map Pane Tab in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853410#M4383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set the Caption for the map pane to represent what is in that map pane.&amp;nbsp; I know how to do this programmatically to the caption using the following, but that does not save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProApp.Panes.ActivePane.Caption = caption;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you can do this manually in catalog using Right/Click rename.&amp;nbsp; I want to do this in code based on what I created in that map.&amp;nbsp; This way I don't have to reload the Caption on MapLoad everytime if it is already set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2018 19:00:06 GMT</pubDate>
    <dc:creator>MKa</dc:creator>
    <dc:date>2018-03-02T19:00:06Z</dc:date>
    <item>
      <title>Rename the Map/Map Pane Tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853410#M4383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to set the Caption for the map pane to represent what is in that map pane.&amp;nbsp; I know how to do this programmatically to the caption using the following, but that does not save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProApp.Panes.ActivePane.Caption = caption;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know you can do this manually in catalog using Right/Click rename.&amp;nbsp; I want to do this in code based on what I created in that map.&amp;nbsp; This way I don't have to reload the Caption on MapLoad everytime if it is already set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 19:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853410#M4383</guid>
      <dc:creator>MKa</dc:creator>
      <dc:date>2018-03-02T19:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rename the Map/Map Pane Tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853411#M4384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;map.SetName("name here")? Map name is the default caption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11891.html"&gt;http://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11891.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2018 19:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853411#M4384</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2018-03-02T19:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rename the Map/Map Pane Tab</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853412#M4385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi M,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Your code snippet renames the caption of the pane.&amp;nbsp; If you execute our code snippet you see the pane caption (displayed in the tab) is actually updated.&amp;nbsp; However, a right click 'rename' in Catalog will update the Map object.&amp;nbsp; There is a SetName method to update the name of the map:&amp;nbsp; &lt;A href="http://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11891.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic11891.html&lt;/A&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Active&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;SetName&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Test"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/rename-the-map-map-pane-tab/m-p/853412#M4385</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-12-12T10:31:39Z</dc:date>
    </item>
  </channel>
</rss>

