SettingsAccessor SetValue

StatusIDPriorityType
Closed32099MajorFeature
Profile Reply
gabossolo Client

Hi!

How to use SetValue of SettingsAccessor?

Thanks!

Replies

User Description Posted On
MariyaVoytovich Agent

Hello gabossolo!

If I understand correctly, you want to set the value of the settings from the code.
In "Access in Code" topic describe how get settings values from slice.
To set slice value you need to do the same, it's just the opposite

For Example:

this.ObjectSpace.AppSettings().Root().KeysFCSettings().KeyString.Value = "new value with updater";

Feel free to contact us if you need further assistance or have additional questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

gabossolo Client

Okay thanks! But how to commit changes in a Controller?

Thanks!

gabossolo Client

It's working fine now!!! Many thanks!

× This ticket is closed.

Write US