How do I load different pages in doGet with HTML Service programmatically? If it is impossible, why GAS editor allows creating different HTML pages?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your loading different pages based on parameters passed in the URL you can test for the parameter using
You can always do something like this too
And my final option is you can put conditional logic into the template to get different HTML