You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This global class allows operations with the Preferences menu. This class has no constructor; methods can be accessed using the s_pref global object.

refresh()


This method allows refreshing the Preferences menu automatically.


Return:

TypeDescription
VoidThis method does not return a value.


Example:

refresh
const sysId = await s_form.save();
await s_user.setPreference(preferenceApplicationName, packApplicationId);
await s_user.setPreference(preferenceLocalPackName, sysId);
await s_pref.refresh();


s_form.save().then(() => s_pref.refresh()).finally(__resolveServerResponse);



  • No labels