【发布时间】:2018-07-19 16:34:35
【问题描述】:
我需要在多项选择项的每个选项中插入一张 Google Drive 图片。检查文档后,.addMultipleChoiceItem() 类不支持.setImage() 方法。还有其他方法可以从 Google Drive 插入图片吗?
例子:
var form = FormApp.openById('1234567890abcdefghijklmnopqrstuvwxyz');
var item = form.addListItem();
item.setTitle('Do you prefer cats or dogs?')
.setChoices([
item.createChoice('Cats'), <------ I need to insert an imagen of a cat
in this choice with code.
item.createChoice('Dogs')
]);
【问题讨论】:
标签: google-apps-script google-forms