Your account, not necessarily the account that opened the document. Send an email when a document is opened, the email is always sent from This means that if you create a trigger to When your colleague opens the document (if your colleague has edit access),īut it runs as your account. For example, if you create an installable open trigger, it runs Installable triggers always run under the account of the person who created Infinite loop, add code that checks whether grades already exist before The onFormSubmit condition and causes an infinite loop. Uses an onFormSubmit trigger, calling Form.submitGrades() triggers Note: An exception to this restriction is Form.submitGrades(). To submit a new form response does not cause the form's submit trigger to run. Script executions and API requests do not cause triggers to run. They do not run if a file is opened in read-only (view or comment) mode.They are still subject to several restrictions: Note: For information on how to use installable triggers in add-on projects, seeĮven though installable triggers offer more flexibility than simple triggers, Triggers, Apps Script passes the triggered function anĪbout the context in which the event occurred. Several additional types of events including time-driven (clock) triggers, and Simple triggers: they can call services that Installable triggers, however, offer more flexibility than Like simple triggers, installable triggers letĪpps Script run a function automatically when a certain event, such as openingĪ document, occurs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |