get(attributeName)

Retrieves the value of the specified custom attribute of the Obj.

Passing an invalid attribute name returns null. If the attribute name starts with an underscore character (“_”, indicating a reserved name of a system attribute), an error is thrown.

Params

  • attributeName (String) – The name of the attribute.

Returns

The value of the attribute. This value can be of the Date, Number, Binary, Link, Obj, Widget, String, Array<Link>, Array<Obj>, Array<Widget>, or Array<String> type. Its type can also be null in case the value is empty, or if the attribute does not exist.