When a record of a table that has a field of type "file", how to delete the file stored in the drive

When a record of a table that has a field of type "file", how to delete the file stored in the drive?

Scenario:
I have a table called "file", which has some fields among them a field called "file" of type "file", where a file is stored, this file is stored in the Drive in the AppSheet folder.
When I delete this record from the table the file is not deleted from the drive, how can I delete the file from the drive automatically?

0 6 161
6 REPLIES 6

With an Apps Script task through automation. 

Call Apps Script from an automation - AppSheet Help 

Hello,
Thanks for the help, I'm traveling, as soon as possible I'll try yours and the other solutions pointed out to see which one would be easier.
Thanks

Hello,
Thanks for the help, I'm traveling, as soon as possible I'll try yours and the other solutions pointed out to see which one would be easier.
Thanks.

Adicione a pasta que contรฉm os arquivos como uma tabela em seu aplicativo

Assim vocรช consegue apagar os arquivos 

Hello,
Thanks for the help, I'm traveling, as soon as possible I'll try yours and the other solutions pointed out to see which one would be easier.
Thanks..

Top Labels in this Space