Google Apps Script URLFetchApp Permission

后端 未结 2 846
情歌与酒
情歌与酒 2021-01-27 21:26

I\'m new to GAS and I struggle with the permission system.

I\'m a normal Google drive user and I started a spreadsheet and tried to add some code to it. My code is worki

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-27 22:09

    Use installable trigger instead and write your own "onEdit" function (with a different name) that you bind to your installable trigger.

    https://developers.google.com/apps-script/guides/triggers/installable#g_suite_application_triggers

    This solved the issue for me.

提交回复
热议问题