Import google spreadsheet data into google forms with app script

后端 未结 3 1873
忘掉有多难
忘掉有多难 2021-02-03 10:50

I searched the internet and I can\'t find a response to this nor the documentation for it. I need to dynamically generate Google forms questions with data from a Google spreadsh

3条回答
  •  伪装坚强ぢ
    2021-02-03 11:01

    It's pretty straightforward, see here: https://developers.google.com/apps-script/guides/sheets#reading

    You just need to open the sheet by its doc key, select the data and read the cells as a JS object.

提交回复
热议问题