<?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: Dialog Launcher Buttons in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/1126465#M7502</link>
    <description>&lt;P&gt;I needed this. Thanks!!!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 22:02:04 GMT</pubDate>
    <dc:creator>AbelPerez</dc:creator>
    <dc:date>2021-12-15T22:02:04Z</dc:date>
    <item>
      <title>Dialog Launcher Buttons</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/851153#M4241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom property page that I added to the esri_core_optionsPropertySheet property sheet. I use this to save custom project settings. I found the dialog launcher buttons (described &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Framework#tabs-and-groups"&gt;here&lt;/A&gt;​) and I see that you can use DAML ID's for predefined options buttons like &lt;EM style="color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: #f8f8f8;"&gt;esri_core_showOptionsSheetButton&lt;/EM&gt; but I can't figure out how to launch the options sheet with my custom page selected.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/208636_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 20:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/851153#M4241</guid>
      <dc:creator>TedChapin</dc:creator>
      <dc:date>2016-06-22T20:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Launcher Buttons</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/851154#M4242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered my own question!&lt;/P&gt;&lt;P&gt;You have to create a button that launches the property page in its OnClick event. Then reference that button's ID in the launcherButtonID of the group in which you want the dialog launcher to appear.&amp;nbsp; If you don't want a whole other button just for that, then simply remove it from any group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a custom page to the project options property sheet like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;propertySheets&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;updateSheet refID="esri_core_optionsPropertySheet"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;insertPage id="myCustomPage" caption="My Custom Settings" className="MyCustomPageViewModel" group="Project"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;content className="MyCustomPageView" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/insertPage&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/updateSheet&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/propertySheets&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the button's OnClick:&lt;/P&gt;&lt;P&gt;ArcGIS.Desktop.Framework.PropertySheet.ShowDialog("esri_core_optionsPropertySheet", "myCustomPage")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my dialog launcher mini-icon launches my custom properties page, or users can get to it via the back stage. Looks just&amp;nbsp; like the out of the box tabs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 20:35:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/851154#M4242</guid>
      <dc:creator>TedChapin</dc:creator>
      <dc:date>2016-06-22T20:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Launcher Buttons</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/1126465#M7502</link>
      <description>&lt;P&gt;I needed this. Thanks!!!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 22:02:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/dialog-launcher-buttons/m-p/1126465#M7502</guid>
      <dc:creator>AbelPerez</dc:creator>
      <dc:date>2021-12-15T22:02:04Z</dc:date>
    </item>
  </channel>
</rss>

