In the Google Apps Script editor, I can set a user property by opening the File > Project properties menu, and then selecting the "User properties" tab. However, it seems that the PropertiesService is unable to access the values set in this menu. Is there a way I can access the values set through this menu in my script?
Set {"propertyA", "valueA"} in "User Properties" tab (pictured below)
Run
PropertiesService.getUserProperties().getProperties()
Output:
{}
If I were to then run PropertiesService.getUserProperties().setProperty("propertyB", "valueB");
and then getProperties()
again, the output would update to show only {propertyB=valueB}
.
Similarly, as my searches all direct me to the PropertiesService, where can I find documentation about these menu properties? (Specifically, I'd like to know when I should use the menu option versus setting the values programatically.)