Posted on May 20, 2022
Effortless triggers is actually a set of set aside features built into Software Program, like the form onOpen(e) , hence runs whenever a user reveals a bing Docs, Sheet sets, Glides, otherwise Variations document. Installable trigger bring a lot more potential than just simple leads to but need to be triggered ahead of explore. Both for types of produces, Apps Software passes new triggered means a conference object containing facts about the fresh new framework where in fact the enjoy took place.
- onOpen(e) runs when a person reveals good spreadsheet, document, demonstration, otherwise function that user provides permission so you can edit.
- onInstall(e) works whenever a person installs an editor incorporate-on from the inside Google Docs, Sheets, Slides, or Versions.
- onEdit(e) runs whenever a person change an esteem for the an excellent spreadsheet.
- onSelectionChange(e) operates when a person change the choice inside a beneficial spreadsheet.
- doGet(e) operates when a person visits a web site application or an application directs a keen HTTP Score request in order to a web site application.
- doPost(e) operates whenever a course directs an HTTP Article request to help you an excellent net application.
The fresh new age factor in the setting brands significantly more than was an event object that’s passed on the form. The thing contains information about the context you to definitely caused the end in so you can flames, but utilizing it are elective.
- The latest program must be bound to a google Sheet sets, Glides, Docs, otherwise Variations document, normally end up being a feature-on that extends some of those apps. (more…)