# Settings in ParaView-branded app

**URL:** https://discourse.paraview.org/t/settings-in-paraview-branded-app/676
**Category:** Development
**Created:** [October 2, 2018, 8:05pm UTC](https://discourse.paraview.org/t/settings-in-paraview-branded-app/676 "2018-10-02T20:05:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dcthomp](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dcthomp/32/20_2.png) [@dcthomp](https://discourse.paraview.org/u/dcthomp)
#### Post date: [October 2, 2018, 8:05pm UTC](https://discourse.paraview.org/t/settings-in-paraview-branded-app/676/1 "2018-10-02T20:05:55Z")

</div>

I’m trying to add some application settings to a ParaView-branded app; they’re exposed in the user preferences dialog now as a new panel (I create a new singleton class to hold settings and reference it in Server-Manager XML as a `<SettingsProxy>` in the “settings” ProxyGroup), but the settings are not persistent across restarts as they are never written to the preference files (Qt or JSON).

I see that the `vtkInitializationHelper` class is used to save data via `vtkSMSettings`, but don’t understand how values like AutoApply from `vtkPVGeneralSettings.h` are exposed to `vtkSMSettings`. What can I do to ensure that the singleton my SettingsProxy names gets included in the user preferences file?

Thanks!

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [February 7, 2019, 2:17pm UTC](https://discourse.paraview.org/t/settings-in-paraview-branded-app/676/2 "2019-02-07T14:17:33Z")

</div>

Did you figure this one out, @dcthomp?
