<?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: BackStage_PropertyPage sample in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776218#M883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;I have not read carefully your question. I thought that you asking about Project properties. Application properties you can access using :&lt;/P&gt;&lt;DIV&gt;BackStage_PropertyPage.Properties.Settings settings = BackStage_PropertyPage.Properties.Settings.Default;&lt;/DIV&gt;&lt;DIV&gt;bool bGeneral = settings.GeneralSetting;&lt;/DIV&gt;&lt;DIV&gt;It works from add-in button in the same project.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2018 06:50:27 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2018-06-28T06:50:27Z</dc:date>
    <item>
      <title>BackStage_PropertyPage sample</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776215#M880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the BackStage_PropertyPage sample compiled and running in ArcPro.&amp;nbsp; In that sample, there is a checkbox called 'GeneralSetting' that resides in "Options - Application - Sample App Settings".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to access the value of that checkbox through a completely different tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/412071_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776215#M880</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2018-06-22T18:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: BackStage_PropertyPage sample</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776216#M881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;Open settings module class file (in BackStage_PropertyPage sample Module1.cs) and find&amp;nbsp; &lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;internal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; Dictionary&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;gt; Settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Replace &lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;internal&lt;/SPAN&gt; with&amp;nbsp;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;public&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Add reference of settings module to your tool project if it separate project.&lt;/P&gt;&lt;P&gt;From your other tool find module with settings:&lt;/P&gt;&lt;P&gt;Module1 modOwner = Module1.Current;&lt;/P&gt;&lt;P&gt;Use module Settings property to access your settings:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;modOwner.Settings. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 06:58:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776216#M881</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-06-27T06:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: BackStage_PropertyPage sample</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776217#M882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for responding.&amp;nbsp; I can't seem to get your method to work, but alternatively what I am doing is just building all of my tools in the same project as my 'Property Sheet'.&amp;nbsp; Not the most ideal solution, but the easiest way to get around the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to do now is access Properties.Settings.Default.&amp;lt;the setting&amp;gt; to access the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2018 18:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776217#M882</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2018-06-27T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: BackStage_PropertyPage sample</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776218#M883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;I have not read carefully your question. I thought that you asking about Project properties. Application properties you can access using :&lt;/P&gt;&lt;DIV&gt;BackStage_PropertyPage.Properties.Settings settings = BackStage_PropertyPage.Properties.Settings.Default;&lt;/DIV&gt;&lt;DIV&gt;bool bGeneral = settings.GeneralSetting;&lt;/DIV&gt;&lt;DIV&gt;It works from add-in button in the same project.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 06:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/backstage-propertypage-sample/m-p/776218#M883</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2018-06-28T06:50:27Z</dc:date>
    </item>
  </channel>
</rss>

