API Docs for: 1.0.0
Show:

GlideRecord Class

Constructor

GlideRecord

()

Item Index

Methods

Methods

getValue

(
  • field
)
String

Get the value of a specified field.

This returns the actual value instead of a reference like dot-walking provides.

This means that if the value changes on the Record itself, the value retrieved here will not be effected, making it good for persisted references or storage.

Parameters:

  • field String

    The field whose value should be retrieved.

Returns:

String:

The value of the specified field on the current record, if any.

setValue

(
  • field
  • value
)
String

Set the value of a specified field.

Parameters:

  • field String

    The field whose value is being set.

  • value String

    The value to put to that field.

Returns:

String:

The value of the specified field on the current record, if any.