GlideSysListControl - getControlID()

Returns the sys_id for the control.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
String sys_id of the control

var sysListCtrl = new GlideSysListControl("incident");
var controlID = sysListCtrl.getControlID();
gs.info(controlID);

Output:

91a807a60a0a3c74012113e28b47ca2e