GlideElement - getED()

Gets an element descriptor.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
ElementDescriptor The field's element descriptor.

Scoped equivalent

To use the getED() method in a scoped application, use the corresponding scoped method: Scoped GlideElement - getED().

var fields = current.getFields();
for (i=0; i<fields.size(); i++) { 
  var field = fields.get(i);
  var descriptor = field.getED(); 
  gs.print("type=" + descriptor.getType() + 
    " internalType=" + descriptor.getInternalType());