I want to embed Google Drive Scripts/ project from Google Sites but I can not.
Google Sites alert me with a message
This url is not recognised as a valid Apps Script
after I
- created project-script from Google Drive,
- added a function
function doget(e) { code; code; code; ... }
, - published the script ("Deploy as web app"),
- retrieved the link link (e.g: https://script.google.com…1DkWAQ/exec), and
- in the Google Sites page,
- I edited page and inserted a script from menu: Insert > Apps Script Gadget.
In the next page I enter script's link but a message box shows up: "This url is not recognised as a valid Apps Script"
Where I am wrong?
My question is: Can I execute Google Drive Script without adding code in site's page? Is it possible to execute from several Google Sites' pages a Google Drive Script with different parameters?
Thanks,
Michele