<?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: Function for writing custom project settings is not called when saving project programmatically in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828002#M3158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara&lt;/P&gt;&lt;P&gt;I modified the &lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/BackStage_PropertyPage"&gt;sample project&lt;/A&gt; referenced in that wiki page to save a project using the SaveAsync method. The OnWriteSettingsAsync method was called for me.&lt;/P&gt;&lt;P&gt;Is there anything specific about how you are calling SaveAsync?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2020 14:58:54 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2020-04-15T14:58:54Z</dc:date>
    <item>
      <title>Function for writing custom project settings is not called when saving project programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828001#M3157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to save some custom project settings (see &lt;A class="link-titled" href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings" title="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings"&gt;ProGuide Custom settings · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&amp;nbsp;). When I manually save the project, the function "OnWriteSettingsAsync()" is called. However, when I programmatically save the project using "Project.Current.SaveAsync()", the function "OnWriteSettingsAsync()" is not called.&lt;/P&gt;&lt;P&gt;Is there a workaround for this?&lt;/P&gt;&lt;P&gt;Thanks, Barbara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 14:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828001#M3157</guid>
      <dc:creator>BarbaraSchneider2</dc:creator>
      <dc:date>2020-04-15T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function for writing custom project settings is not called when saving project programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828002#M3158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara&lt;/P&gt;&lt;P&gt;I modified the &lt;A href="https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/BackStage_PropertyPage"&gt;sample project&lt;/A&gt; referenced in that wiki page to save a project using the SaveAsync method. The OnWriteSettingsAsync method was called for me.&lt;/P&gt;&lt;P&gt;Is there anything specific about how you are calling SaveAsync?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 14:58:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828002#M3158</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2020-04-15T14:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function for writing custom project settings is not called when saving project programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828003#M3159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could be the problem:&amp;nbsp; when you change your custom settings make sure you set the Project to reflect a dirty status with:&amp;nbsp; Project.Current.SetDirty (true);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 16:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/function-for-writing-custom-project-settings-is/m-p/828003#M3159</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-04-15T16:27:02Z</dc:date>
    </item>
  </channel>
</rss>

