Select to view content in your preferred language

OnReadSettingsAsync not called when creating project from project template

276
0
11-21-2023 05:41 AM
mahj
by
New Contributor II

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 here. This works as expected when creating, saving and opening projects.

But if I share the project as a project template and then create a new project from the template, Module.OnReadSettingsAsync() is never called so my custom settings are never read from the new project. 

Is there some other way I can load the custom settings for a new project created from the template?

0 Kudos
0 Replies