This is a simple library that contains a number of useful universal methods. Methods are grouped according to the type of data that is passed in (ie if a method requires a string argument, it is located in the String.js
file).
To add this library to your script file, do the following in the Apps Script code editor:
- Click on the menu item "Resources > Libraries..."
- In the "Add a Library" text box, enter the script ID
1DsCgJGt-kX56V2cCf6_4Mj5oMDyzYETmqkdr-XsLvQHRfI8BEMBHFiT2
and click the "Add" button. - Choose a version in the dropdown box (usually best to pick the latest version).
- Click the "Save" button.
In the new editor:
- Click on the plus sign next to Libraries
- In the Script ID text box, enter the script ID
1DsCgJGt-kX56V2cCf6_4Mj5oMDyzYETmqkdr-XsLvQHRfI8BEMBHFiT2
and click the "Lookup" button. - Choose a version in the dropdown box (usually best to pick the latest version).
- Specify an Identifier (this is the name that will be referenced throughout your script)