I am creating a dynamic form for a Google spreadsheet. Each time I generate the form I get an error popup saying "there's already a Form attached to the spreadsheet". I then have to manually unlink the form before I can use it.
Is there a method that will allow me to programmatically unlink the spreadsheet?
How are you creating it? Please post some code along with your questions.
But to "detach a form" from a spreadsheet, you have to open the form using FormApp
and call removeDestination()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.