Notifications

294 views

Description



Overview


isAdvancedUI() is a function that is used in many UI actions under condition fieldĀ for visibility purposes.

Description


isAdvancedUI is a business rule defined at table "global".

It checks the user preference named "glide.ui.advanced" as well as the system property's value named "glide.ui.advanced" (under certain conditions)

The following is the script defined in this business rule:

function isAdvancedUI() {
var user = gs.getUser();
var pref = user.getPreference('glide.ui.advanced');
if (pref == null || pref == '')
pref = gs.getProperty('glide.ui.advanced');

return pref == 'true';
}

This system property decides the visibility of "Save", "Insert" and "Insert and Stay" UI actions on the form (which explains via the above mentioned business rule on how it is controlled at first place)

Applicable Versions


Any

Additional Information


N/A

Article Information

Last Updated:2019-08-02 21:13:11
Published:2018-05-15