Hi guys im trying to display a sidebar on my google sheets every time it is opened. I am using the onOpen function and calling the html page, but it is not executing. When i run
See if this works
function showSideBar() {
SpreadsheetApp.getUi()
.showSidebar(HtmlService.createTemplateFromFile('tipA')
.evaluate()
.setTitle('Some title'));
}
and use an installable onOpen trigger on this function. As the previous poster already mentioned, I also don't believe you can show a sidebar (which requires authorization) on a simple onOpen trigger (which doesn't require authorization).