我試圖找出一個谷歌的形式在目標頁中的目的地表。我可以使用以下電子表格:是否有可能得到應用腳本
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 –