Hi Laurence. How to stop or delete trigger. If have a daily trigger creating a new template daily and I want it stop if it reaches the end of month and start the daily template creation with a fresh new sheets or file for the following month
/** * Deletes a trigger. * @param {string} triggerId The Trigger ID. * @see developers.google.com/apps-script/guides/triggers/installable */ function deleteTrigger(triggerId) { // Loop over all triggers. const allTriggers = ScriptApp.getProjectTriggers(); for (let index = 0; index < allTriggers.length; index++) { // If the current trigger is the correct one, delete it. if (allTriggers[index].getUniqueId() === triggerId) { ScriptApp.deleteTrigger(allTriggers[index]); break; } } }
Hey Laurence. Hoping you'll also a tutorial for web app data table with bootstrap and data cell are clickable and a dialog box with details will appear. Thamk youuu
I want to use the appendrow function with the modification that a row appended should always appear in the row just below that row in which appendrow function is used Plz guide
Hi Laurence. How to stop or delete trigger. If have a daily trigger creating a new template daily and I want it stop if it reaches the end of month and start the daily template creation with a fresh new sheets or file for the following month
/**
* Deletes a trigger.
* @param {string} triggerId The Trigger ID.
* @see developers.google.com/apps-script/guides/triggers/installable
*/
function deleteTrigger(triggerId) {
// Loop over all triggers.
const allTriggers = ScriptApp.getProjectTriggers();
for (let index = 0; index < allTriggers.length; index++) {
// If the current trigger is the correct one, delete it.
if (allTriggers[index].getUniqueId() === triggerId) {
ScriptApp.deleteTrigger(allTriggers[index]);
break;
}
}
}
You can do it with code or manually
Appreciate it Laurence. You're awesome as always. I did enroll to your udemy course as well 😁
Hey Laurence. Hoping you'll also a tutorial for web app data table with bootstrap and data cell are clickable and a dialog box with details will appear. Thamk youuu
I have several new ones coming soon
@@LaurenceSvekisCourses Thanks Laurence. Looking forward on this
I want to use the appendrow function with the modification that a row appended should always appear in the row just below that row in which appendrow function is used
Plz guide
You would need the current row value , and then append to the following index value.