I have a Google-Forms add-on published. It has been approved by their API process and is published in the store.
When the add-on is first used, the add-on appears when you click the little puzzle piece ->
, but, once it's clicked on, only the "help" menu item appears, it's missing the main "action" that the plugin exposes. If a new google form is created, then the plugin shows all the options.
I'm sorry if this isn't clear, happy to add more details. In my case, the "Upload" link is missing until a new form is created (which is really awful usability).
The relevant parts of the Google Apps script code looks like this:
function onOpen(e) {
FormApp.getUi()
.createAddonMenu()
.addItem("Upload", "processUpload")
.addToUi();
}
function processUpload() {
var form = FormApp.getActiveForm();
var ui = FormApp.getUi();
Any ideas how to make that "Upload" link appear the first time the plugin is installed without requiring a new form be created?