Load a workbook to suitelet

Initially create a data set based on the requirement. Then, apply this data set to a workbook.

Please follow the below code to load the workbook to a suitelet

  1. Import the N/workbook module to the script.

2. Code for load the workbook

var myWorkbook = workbook.load({

id: myWorkbookId //Id of the workbook

});

Leave a comment

Your email address will not be published. Required fields are marked *