Properties Scope - Episode 12.1 | Apps Script ~ Properties Service

Опубликовано: 17 Март 2026
на канале: David Weiss
3,414
63

Hey Coders! With any type of stored data, security and access control is critical. Luckily, the Properties Service allows the developer to set a scope, or a context, in which the data is being stored. The three scopes are: on a document level, on a script level, and finally a user level. If you have properties that need to be tied solely with a single document, use the getDocumentProperties. Similarly, if specific user accounts need their own separate and secure set of properties, use getUserProperties. In this video, we'll explore how to set the scope for your properties and what that means for you and your data!

Check out the source code on GitHub:
https://github.com/davidtheweiss/Apps...

🎙️ Help me get a new Microphone! https://gofund.me/67b28c1c
❤️ Support the ongoing growth of this channel!   / davidweissprogramming  

🧑‍💻 Apps Script Documentation: https://developers.google.com/apps-sc...

----------------------------------------------------------------------------------------------
Other playlists:

App Engine:
   • Google Cloud - Season 1 | App Engine  

Google Cloud Orientation:
   • Google Cloud - Season 0 | Orientation  

Utilities Service:
   • Apps Script - Season 13 | Utilities Service  

Properties Service:
   • Apps Script - Season 12 | Properties Service  

URL Fetch Service:
   • Apps Script - Season 11 | URL Fetch Service  

Drive Service:
   • Apps Script - Season 10 | Drive Service  

Forms Service:
   • Apps Script - Season 9 | Forms Service  

Lock Service:
   • Apps Script - Season 8 | Lock Service  

HTML Service:
   • Apps Script - Season 7 | HTML Service  

Document Service:
   • Apps Script - Season 6 | Document Service  

Slides Service:
   • Apps Script - Season 5 | Slides Service  

Calendar Service:
   • Apps Script - Season 4 | Calendar Service  

Script Service:
   • Apps Script - Season 3 | Script Service  

Gmail Service:
   • Apps Script - Season 2 | Gmail Service  

Spreadsheet Service:
   • Apps Script - Season 1 | Spreadsheet Service  

Apps Script Orientation:
   • Apps Script - Season 0 | Orientation  
----------------------------------------------------------------------------------------------