GlideElement - getBooleanAttribute(String attributeName)

Returns the value of the attribute on the specified field from the dictionary as a Boolean.

To get the value as a string, use getAttribute(string).

Table 1. Parameters
Name Type Description
attributeName String Name of the attribute
Table 2. Returns
Type Description
Boolean Attribute value. Returns false if the attribute does not exist.

Scoped equivalent

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