An object of alternate ids for this object, with values as [[AltId]]
An array of alternate ids for this object.
Same as calling optAncestor(var).orElse(null)
If this object is a Collection it returns it as an array. The majority of objects in the system are Collections. For most objects, this is the same as calling [[children]].
Get the children of the object. This retrieval goes one level deep.
Optional
classType: string | numberThe "created at" timestamp of this object.
The creator of this object.
Temporarily modified the CSS class. If set to a new value then the class given will be visible for the current field and current form entry during the remainder of the current request. If set to an empty string then the original class is restored.
This value can be changed regardless of the writability of the underlying form entry as it does not actually change any data, just temporarily displays it differently.
Temporarily modify the CSS style. If set to a new value then the style given will be visible for the current field and current form entry during the remainder of the current request. If set to empty string then the original style is restored.
This value can be changed regardless of the writability of the underlying form entry as it does not actually change any data, just temporarily displays it differently.
The deleted children of this object. Only looks one level deep. E.g. a form's deleted children could include fields and form entries. A folder's deleted children could include folders, forms, and formulas, but not any of those forms' entries.
The default display name of this object. For the most part, this is the same as calling toString()
, which is the same as inserting the object into a string.
Sets the Display Name.
Gets an array of all the object's ancestors.
An array of strings containing the list of groups that contain the [[OptionItem]]. The groups are listed beginning with the top level group at index 0 and proceeding to inner groups.
The [[Id]] of this object bounded to T.
Returns the Local Cache object for this Thread/Base Object.
Same as calling optLock().orElse(null)
The [[User]] that last modified this object.
A [[Java.Optional]] of the ancestor with the specific class.
A [[Java.Optional]] of the current object's parent object.
Optional
classType: string | numberSame as calling optParent(var).orElse(null)
Optional
classType: string | numberReset the current object so that it is cleared from the cache and looked up from the database.
Temporarily modifiy the status. If set to a new value then the option will be shown, hidden or disabled for the current field and current form entry during the remainder of the current request. This value can be changed regardless of the writability of the underlying form entry as it does not actually change any data, just temporarily displays it differently.
Acceptable inputs (case insensitive):
""
for active
, and "Obsolete", "Disabled", or "Locked" otherwise.Note: An option which [[isSelected]] and [[obsolete]] will behave as though it is [[active]]. An option which [[isSelected]] and [[disabled]] will be gray, but may still be selected or unselected like a normal, [[active]] option. An option which [[isSelected]] and [[locked]] will be gray, and may not be selected or unselected.
The [[Id]] or [[AltId]] that the system deems most relevant.
If an acutal option item, returns the HTML string a la
<span style="property: value;" class="op-item-1">Op Item Label</span>```
Makes changes to the database for this object
The versions of this object.
Returns a view URL for this object, if it has one. This value is always a relative URL, meaning it does not contain the protocol prefix or domain name such as http://xyz.bluestep.net
.
Represents one of the available options in an Option List, which is used in [[SingleSelectField]] and [[MultiSelectField]] to provide a limited, pre-defined dataset for a [[User]] to input data.
Option Lists are created in Relate by going to Admin > Option Lists > New Component > Option List.