Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 394 Bytes

File metadata and controls

22 lines (16 loc) · 394 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const workbookNamedItem = {
  name: 'test7',
  formula: '=SUM(Sheet2!$A$1+Sheet2!$A$2)',
  comment: 'Comment for the named item'
};

await client.api('/me/drive/items/{id}/workbook/names/addFormulaLocal')
	.post(workbookNamedItem);