Awaken Scripting User Guide

Please email helpdesk@awaken.io for omissions or errors.
×
Menu

Removing Toolbar Labels with JavaScript

 
JavaScript can be used to remove a Toolbar Label at any time in a Workflow.
 

How To

Inside any JavaScript-manipulating Field (Calculate, JavaScript, JavaScript - Button), use the Script.Labels.Remove() function:
Script.Labels.Remove(name);
 
Name
Required / Optional
Explanation
name
Required
The identifier of the Label to be removed. If it was created by a Toolbar Label - Add, then this will be the Name option specified there. If it was created with JavaScript, then it will be the name.
 
 
Example:
Script.Labels.Remove("customerName");