Restriction of Apps Script UserProperties Service

TribbleZA

Honorary Master
Joined
Feb 3, 2014
Messages
34,909
Reaction score
19,322
Location
Pretoria
Hi - I got the following from Google. We run a script through Sheets. I guess this is going to affect how we connect and get information from external programs. But I am not sure.
Could some of you really clever people explain the message to me? I have the script and can edit it - it looks simple enough. But I need to know what exactly won't be working any more. We do scrape data from a site called Agent Stats - and it seems as this is what will be affected.

Google Customer Alert

Dear User,

We're writing to inform you of a change in behavior to the UserProperties service when called from either Apps Script or App Maker. Previously, properties written to the UserProperties service were scoped to a user yet, shared between all scripts belonging to the user. Starting July 16 2019, new properties stored in the UserProperties service will be scoped to the user writing them and to the script from which they were written. Accordingly, user-specific properties are no longer shared between scripts.

Properties written before the change on July 16 2019, are no longer programmatically available, however, we've added a new page to the Apps Script editor where you may retrieve these properties. You may visit the new page by accessing File > Project properties > Deprecated user properties (read-only). As some scripts depend on the data stored in these properties, you may need to repopulate these script's properties via the UserProperties service.

To make the transition smooth, we've made an effort to maintain your script's access to properties they've used recently. Between April 1, 2019 and July 16 2019, if one of your scripts used a property from the UserProperties service, that property was copied and the copy remains available via the UserProperties service. These copied properties are not shared between scripts. For your convenience, we are including details on these scripts below:

Attached is a csv file which includes Script URL(s) that appear to make use of the UserProperties API.

We sincerely apologize for any inconvenience this may have caused.

Sincerely,

The G Suite Team

This is the property in question:
1563875134408.png
What do I do to fix this ?
1563875785878.png

I guess I am going to search for those and comment them out - and see if my script still works.
 
Last edited:
Update. I guess I should have done a test first. Seems my script runs fine.
1563876322422.png
Guess I panicked for nothing. Unless there is something else in the email I am missing.
 
Top
Sign up to the MyBroadband newsletter
X