Rename menus to non-test text
This commit is contained in:
parent
5e1948421b
commit
d5d0aae48b
6
Code.ts
6
Code.ts
@ -1,7 +1,7 @@
|
||||
function onOpen() {
|
||||
const ui = SpreadsheetApp.getUi();
|
||||
ui.createMenu('test')
|
||||
.addItem('test1', 'test')
|
||||
ui.createMenu('CMS Document Generation')
|
||||
.addItem('Generate document for current row', 'generateForCurrentRow')
|
||||
.addToUi();
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ function copyBody(
|
||||
}
|
||||
}
|
||||
|
||||
function test() {
|
||||
function generateForCurrentRow() {
|
||||
const cell = SpreadsheetApp.getActive().getCurrentCell();
|
||||
const template = DocumentApp.openById(
|
||||
'1V0uMuM80BGpjpdt1AmuzlU97tDI_u-y2rOfdl4tkqmc'
|
||||
|
Reference in New Issue
Block a user