Scoped GlideElement - getED()

Returns the field's element descriptor.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
Type Description
Scoped GlideElementDescriptor The field's element descriptor.
var grInc = new GlideRecord('incident');
grInc.query('priority', '1');
 
var field = grInc.getElement('priority');
var ed = field.getED();