<?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: Different button behaviour in ribbon tab and menu in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054275#M6545</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;My ArcGIS Pro version 2.7.3&lt;/P&gt;&lt;P&gt;I have tried different ways:&lt;/P&gt;&lt;P&gt;1. Override OnUpdate&lt;/P&gt;&lt;P&gt;protected override void OnUpdate()&lt;BR /&gt;{&lt;BR /&gt;if (_isLogged)&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign out";&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign in";&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;2. On custom event&lt;/P&gt;&lt;P&gt;private void onAuth(AuthorizationDataMessage msg)&lt;BR /&gt;{&lt;BR /&gt;if (msg != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(msg.AccessToken))&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign out";&lt;BR /&gt;_isLogged = true;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign in";&lt;BR /&gt;_isLogged = false;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Setting Plugin properties&lt;/P&gt;&lt;P&gt;var plugin = FrameworkApplication.GetPlugInWrapper("my_autorization_Btn");&lt;BR /&gt;plugin.Caption = "Sign out";&lt;/P&gt;&lt;P&gt;I have tried with Esri button "esri_editing_SaveEditsBtn" too. Behaviour was the same&lt;/P&gt;</description>
    <pubDate>Tue, 04 May 2021 16:40:40 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2021-05-04T16:40:40Z</dc:date>
    <item>
      <title>Different button behaviour in ribbon tab and menu</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054196#M6542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have placed the same button to ribbon tab and menu for burger button.&lt;/P&gt;&lt;P&gt;If I change caption of button in different workflows, button in ribbon reacts to changes, but button in menu reacts only to enable/disable.&lt;/P&gt;&lt;P&gt;Is is possible to get the same button behaviour in menu?&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 13:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054196#M6542</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2021-05-04T13:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Different button behaviour in ribbon tab and menu</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054260#M6543</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can you please give me a little info on how you changed the caption in your workflows? Also, please let me know the Pro version you are using.&lt;/P&gt;&lt;P&gt;I tried a simple caption change in the ribbon button and it worked for me. The same button placed in the burger menu reflected the change.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 16:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054260#M6543</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2021-05-04T16:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Different button behaviour in ribbon tab and menu</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054275#M6545</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;My ArcGIS Pro version 2.7.3&lt;/P&gt;&lt;P&gt;I have tried different ways:&lt;/P&gt;&lt;P&gt;1. Override OnUpdate&lt;/P&gt;&lt;P&gt;protected override void OnUpdate()&lt;BR /&gt;{&lt;BR /&gt;if (_isLogged)&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign out";&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign in";&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;2. On custom event&lt;/P&gt;&lt;P&gt;private void onAuth(AuthorizationDataMessage msg)&lt;BR /&gt;{&lt;BR /&gt;if (msg != null &amp;amp;&amp;amp; !string.IsNullOrEmpty(msg.AccessToken))&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign out";&lt;BR /&gt;_isLogged = true;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Caption = "Sign in";&lt;BR /&gt;_isLogged = false;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Setting Plugin properties&lt;/P&gt;&lt;P&gt;var plugin = FrameworkApplication.GetPlugInWrapper("my_autorization_Btn");&lt;BR /&gt;plugin.Caption = "Sign out";&lt;/P&gt;&lt;P&gt;I have tried with Esri button "esri_editing_SaveEditsBtn" too. Behaviour was the same&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 16:40:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054275#M6545</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2021-05-04T16:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Different button behaviour in ribbon tab and menu</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054299#M6547</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for this information. I am now able to see the problem too. I will submit an issue for this bug and get back to you when I have updates on its resolution.&lt;/P&gt;&lt;P&gt;Thank you for reporting this one!&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 17:20:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1054299#M6547</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2021-05-04T17:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Different button behaviour in ribbon tab and menu</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1326529#M10349</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9021"&gt;@UmaHarano&lt;/a&gt;&amp;nbsp;&amp;nbsp;We are still seeing this issue on 3.x.&amp;nbsp; Is there any update on this?&amp;nbsp; We were able to work around the issue using a DynamicMenu.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 20:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/different-button-behaviour-in-ribbon-tab-and-menu/m-p/1326529#M10349</guid>
      <dc:creator>TimSexton1</dc:creator>
      <dc:date>2023-09-07T20:06:17Z</dc:date>
    </item>
  </channel>
</rss>

