当文件上传到 Google 驱动器时,您如何处理该事件(调用脚本)?
When a file is uploaded to the Google Drive, how do you handle that event (call scripts)?
在 Google App Maker 中,您可以在 Google Drive Picker 小部件中检查上传文件的时间吗? I am trying to call scripts based on the event, when a clicks UPLOAD after selecting a file and successfully uploads a file to the Google Drive.在 Google App Maker 中,唯一的事件是 onAttach、onDetach、onDataLoad、onDocumentSelect、onCancel 和 onPickerInit。谢谢
onDocumentSelect
当用户选择现有文件或上传新文件时都会触发事件。有关 selected/uploaded 文件的信息可以在作为参数传递给事件的 result
对象中找到。这是 Drive Picker 小部件文档的 link - https://developers.google.com/appmaker/ui/input-widgets#drive-picker
在 Google App Maker 中,您可以在 Google Drive Picker 小部件中检查上传文件的时间吗? I am trying to call scripts based on the event, when a clicks UPLOAD after selecting a file and successfully uploads a file to the Google Drive.在 Google App Maker 中,唯一的事件是 onAttach、onDetach、onDataLoad、onDocumentSelect、onCancel 和 onPickerInit。谢谢
onDocumentSelect
当用户选择现有文件或上传新文件时都会触发事件。有关 selected/uploaded 文件的信息可以在作为参数传递给事件的 result
对象中找到。这是 Drive Picker 小部件文档的 link - https://developers.google.com/appmaker/ui/input-widgets#drive-picker