on 07-03-2014 8:23 AM
Hi,
where are preferences stored when setPreference is called?For how long are they stored?As long as the widget exist?
var prefs = new gadgets.GadgetPrefs();
prefs.setPreference("Greeting", "Value");
Regards,
Elena
Hi Elena,
The preferences are stored on a DB that is linked to the application which is running your widget (The application is actually the site who is hosting the widget).
They are stored as long as the instance of the widget exists in the site.
Once the instance is removed from site, the preferences are removed as well.
Best,
Sapir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is no link between a widget <--> DB schema.
The link is between the DB schema and the application (aka site) who is hosting the widget.
More information can be found on SAP HANA Cloud documentation:
Best,
Sapir
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.