<?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 OnReadSettingsAsync not called when creating project from project template in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/onreadsettingsasync-not-called-when-creating/m-p/1351946#M10726</link>
    <description>&lt;P&gt;I have created an Add-in project in ArcGIS Pro 3.1 that adds a custom project setting which are saved/loaded by overriding Module.OnWriteSettingsAsync()/Module.OnReadSettingsAsync() as described &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings#custom-project-settings" target="_self"&gt;here&lt;/A&gt;. This works as expected when creating, saving and opening projects.&lt;/P&gt;&lt;P&gt;But if I share the project as a project template and then create a new project from the template,&amp;nbsp;Module.OnReadSettingsAsync() is never called so my custom settings are never read from the new project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some other way I can load the custom settings for a new project created from the template?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Nov 2023 13:41:37 GMT</pubDate>
    <dc:creator>mahj</dc:creator>
    <dc:date>2023-11-21T13:41:37Z</dc:date>
    <item>
      <title>OnReadSettingsAsync not called when creating project from project template</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/onreadsettingsasync-not-called-when-creating/m-p/1351946#M10726</link>
      <description>&lt;P&gt;I have created an Add-in project in ArcGIS Pro 3.1 that adds a custom project setting which are saved/loaded by overriding Module.OnWriteSettingsAsync()/Module.OnReadSettingsAsync() as described &lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Custom-settings#custom-project-settings" target="_self"&gt;here&lt;/A&gt;. This works as expected when creating, saving and opening projects.&lt;/P&gt;&lt;P&gt;But if I share the project as a project template and then create a new project from the template,&amp;nbsp;Module.OnReadSettingsAsync() is never called so my custom settings are never read from the new project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there some other way I can load the custom settings for a new project created from the template?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:41:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/onreadsettingsasync-not-called-when-creating/m-p/1351946#M10726</guid>
      <dc:creator>mahj</dc:creator>
      <dc:date>2023-11-21T13:41:37Z</dc:date>
    </item>
  </channel>
</rss>

