GlideRecord - getElement(String fieldName)

Retrieves the GlideElement for a specified field.

Table 1. Parameters
Name Type Description
fieldName String A field name
Table 2. Returns
Type Description
GlideElement A GlideElement object

Scoped equivalent

To use the getElement() method in a scoped application, use the corresponding scoped method: Scoped GlideRecord - getElement(String columnName).