Select to view content in your preferred language

Local Storage

2296
1
06-15-2016 07:37 AM
TedChapin
Frequent Contributor

I'm looking for a way for a Pro project to "remember" certain settings, such as what value was selected from a ComboBox.  Does a project have local storage to save and retrieve custom configuration settings?

0 Kudos
1 Reply
UmaHarano
Esri Regular Contributor

Hi Ted

You can read and write the Project's settings using these two overrides on the module class -

OnWriteSettingsAsync and OnReadSettingAsync.

There is a sample in the arcgis-pro-sdk-community-samples repository that demonstrates this. 

Thanks

Uma Harano

0 Kudos