20 views


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:2018-06-01 01:24:23
Published:2018-05-15