Google spreadsheet reading parameters from its own URL

后端 未结 2 459
庸人自扰
庸人自扰 2021-01-25 00:03

I would like to open a Google Spreadsheet with a few parameters.

Can I add these few parameters in the URL to open the spreadsheet, and then in the spreadsheet load thes

2条回答
  •  既然无缘
    2021-01-25 00:26

    Sandy Good provided an interesting answer and that workflow is indeed the only possible one but there is a major issue in that a webapp deployed this way won't be able to "open" your spreadsheet in the common sense of "open", ie open in a browser window to work on it normally.

    At least not without a user action like a click on a link that would open the sheet in a new tab. Finally you would have a 2 steps process:

    1. Launch the webapp via an URL with parameters that would write some values in the spreadsheet without seeing it and

    2. Open the spreadsheet using a link shown in step 1... retrieving the values that step 1 wrote in some cell

    Very cumbersome and nothing would prevent users to go directly to the spreadsheet without using your special URL...

    All in all , it would be useless.

    So I'm afraid the real answer it simply "no, not possible"

提交回复
热议问题