enuchi / React-Google-Apps-Script

This is your boilerplate project for developing React apps inside Google Sheets, Docs, Forms and Slides projects. It's perfect for personal projects and for publishing complex add-ons in the Google Workspace Marketplace.
MIT License
1.32k stars 171 forks source link

How to change the title of the add on? #185

Closed saurav-bhagat closed 1 year ago

saurav-bhagat commented 1 year ago

By default, it comes - AppScript Application, how can I change this text?

image

saurav-bhagat commented 1 year ago

rushed.

Found the solution:

FYR:

export const openLauncherSidebar = () => {
  const html = HtmlService.createHtmlOutputFromFile('sidebar-launcher-page').setTitle('my-title');
  SpreadsheetApp.getUi().showSidebar(html);
};