我试图找出一个谷歌的形式在目标页中的目的地表。我可以使用以下电子表格:是否有可能得到应用脚本
function getDataSheet(){
var form = FormApp.getActiveForm();
var id = form.getDestinationId();
var ss = SpreadsheetApp.openById(id);
var sheet = ""; // how do I get the sheet that the data will go to?
}
问题是我怎样才能得到表单结果将会转到的表单?我可以猜测它是[0],但这不是保证。
我发现这个问题,涉及到什么,我试图做的:https://code.google.com/p/google-apps-script-issues/issues/detail?id=5448&q =构成%20destination%20sheet&colspec =颗星%20Opened%20ID%20Type%20Status%20Summary%20Component%20Owner –