SettingsAccessor SetValue

StatusIDPriorityType
Closed32099MajorFeature
ProfileReply
gabossoloClient

Hi!

How to use SetValue of SettingsAccessor?

Thanks!

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

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

gabossoloClient

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

Thanks!

gabossoloClient

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

× This ticket is closed.

Write US