UserSettingsService setUserSetting ? (238 Views)
Reply
Advisor
Andywzzz
Posts: 18
Registered: ‎07-11-2012
Message 1 of 8 (238 Views)
Accepted Solution

UserSettingsService setUserSetting ?

Hi,

 

As far as I can see in the UserSettingsService  API there is only method for reading settings values. Is there any possibility to write from code user setting? 

 

If not then do you plan to add this functionality and when?

 

Thanks in advance.

 

Please use plain text.
Honored Contributor
Yossi_Gutin
Posts: 202
Registered: ‎04-04-2013
Message 2 of 8 (226 Views)

Re: UserSettingsService setUserSetting ?

[ Edited ]

Hi Andy
You are correct, it's read only API. Currently there are no plans to provide update for user settings.

Please elaborate more what is the use case for such API.
Thanks

 

---

Update: starting from version 10.02, the apps could use the KeyValueStorageService service. It provides a Map like API, for storing and retrieving data by key. It can be used by app to store arbitrary strings... see more

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
Please use plain text.
Advisor
Andywzzz
Posts: 18
Registered: ‎07-11-2012
Message 3 of 8 (222 Views)

Re: UserSettingsService setUserSetting ?

Yossi, thank you for answer.

 

One of the possible usage of such API would be changing of user settings from custom UI provided by MiniApp. 

 

Please use plain text.
Honored Contributor
Yossi_Gutin
Posts: 202
Registered: ‎04-04-2013
Message 4 of 8 (217 Views)

Re: UserSettingsService setUserSetting ?

I see.
There are plans to support persistancy in MiniApp in the future, I will forward your use case to R&D.
--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
Please use plain text.
Advisor
Andywzzz
Posts: 18
Registered: ‎07-11-2012
Message 5 of 8 (184 Views)

Re: UserSettingsService setUserSetting ?

[ Edited ]

Hi Yossi,

 

Is there any update on implementation plan of this feature?

 

Thanks

Please use plain text.
Occasional Advisor
David_L
Posts: 13
Registered: ‎04-26-2010
Message 6 of 8 (163 Views)

Re: UserSettingsService setUserSetting ?

Hi Andy,

 

We have added your request to our backlog.

 

We will try to prioritize it into one of our upcoming releases, but there is no timeline for it yet.

 

Once it is scheduled to be released, we will update this thread with the relevant information.

 

Thanks,

David

Please use plain text.
Occasional Advisor
Avi-Vaknin
Posts: 15
Registered: ‎03-13-2013
Message 7 of 8 (118 Views)

Re: UserSettingsService setUserSetting ?

What is currently the best practice to set a user settings programatically? some of the user settings can not be displayed with the current capabilies of the default user settings ui.

Please use plain text.
Honored Contributor
Yossi_Gutin
Posts: 202
Registered: ‎04-04-2013
Message 8 of 8 (107 Views)

Re: UserSettingsService setUserSetting ?

[ Edited ]

Hi Avi,

 

Could this new service in 10.02 help?

 

The KeyValueStorageService provides a Map like API, for storing and retrieving data by key. It can be used by app to store arbitrary strings... see more 

 

--------------------------------------------------------------------------------------
If some answer solves your problem, please mark it as a solution.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation