简体   繁体   English

当用户删除电子表格插件时,使用插件添加的文档属性存储是否继续保留?

[英]When user delete spreadsheet add-on, the document properties store added with the add-on continues to remain?

I'm developing Google Sheets Add-on.我正在开发 Google Sheets Add-on。

I was just wandering that the document properties store is deleted when users uninstall the add-on.我只是在徘徊,当用户卸载加载项时,文档属性存储被删除。 GAS don't have Trigger like 'onUninstalled'. GAS 没有像“onUninstalled”这样的触发器。 If the properties continue to remain, I don't know where I write the program that delete them.如果属性继续保留,我不知道在哪里编写删除它们的程序。

Who knows my problem??谁知道我的问题??

As it was mentioned in a comment, the properties (script, document, user) aren't deleted when the user uninstall the add-on.正如评论中提到的,当用户卸载加载项时,不会删除属性(脚本、文档、用户)。

You might add a way for users to delete the properties and warn them that the data stored in properties should be deleted before uninstalling the add-on.您可以为用户添加一种删除属性的方法,并警告他们在卸载加载项之前应删除存储在属性中的数据。

Related有关的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM