Roberto Flores
Roberto Flores

Reputation: 789

How to replace generic icon

I am creating an add-on for Google Forms. The script extracts data from the form and sends the results to the Google spreadsheet. What I would like to do, if possible, is replace the generic add-on icon (refer to the screenshot below. The icon is highlighted) with an icon that I have. How would I achieve it?

enter image description here

The following is where I am creating the add-on menu:

function onOpen(e) {
  FormApp.getUi()
      .createAddonMenu()
      //.createMenu("MOATT Add-On")
      .addItem('Show Modal Extract Form Q&A', 'showModal')
      .addItem('Show Sidebar Modal Extract Form Q&A', 'showSideBar')
      .addItem('Show Modeless Extract Form Q&A', 'showModeless')
      .addItem('About MOATT Add-On', 'showAbout')
      .addToUi();
}

Upvotes: 0

Views: 390

Answers (1)

Wicket
Wicket

Reputation: 38160

Google Apps Script have methods to add custom menus but not to change the built-in user interface.

Resources

Upvotes: 2

Related Questions