GlideSysListControl - isOmitNewButton()

Returns true when the New button is not displayed.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Boolean True when the new button is not displayed.

var sysListCtrl = new GlideSysListControl("incident");
var isOmitted = sysListCtrl.isOmitNewButton();
gs.info(isOmitted);

Output:

false