Search code examples
google-apps-script

Cannot completely rename Google Apps Script


I'm working on a Google AppsScript project with Google Spreadsheet container and have made a copy to apply some changes for a different use case.

Since running the script in the sheet requires the user's permission, a prompt is generated to acquire those permissions:

Auth required notice enter image description here

The problem here is the name of the App/Script - you can see I've obfuscated part of it since it has a client's name on it. The script project, however, that's not the actual name of the contained script, as you can see here

enter image description here

It seems that the original script name remains, even after changing it post-copy.

I've scoured the project/scripts settings and can't seem to find where else the original name might still be saved. Anybody know how to resolve this?


Solution

  • Here's what I've tried on my end and what I've observed. Through this I've successfully rename the project.

    Steps:

    1. Make a copy.

    2. Rename the Apps Script Project.

    3. Run the script through buttons.

      Note: Make sure that you've rename the Apps Script Project first before running the script.

    If the above didn't work, you can submit this in Google's issue tracker