Action.label
Property Description |
The action label. |
Type |
string |
Module |
|
Sibling Object Members |
|
Since |
2018.2 |
Syntax
Important:
The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/action Module Script Samples.
// Add additional code
...
var actionObj = action.get({
recordType: 'timebill',
id: 'approve'
});
// Get the action label
var theLabel = actionObj.label;
...
// Add additional code