So, my question seems confuse at first because I can't find any direct reference about doGet() and doPost(), I can find it on specific documentations like the webApp one so I am having hard time grasping how doGet() works, that said...
function doGet(request) {
return HtmlService.createTemplateFromFile('INTERFACE/INICIAR/AcessoHTML')
.evaluate();
}
I am using the code above to start my webApp, I have two doubts here:
This will start the landing page of the webApp (A login page), how can I change the page after the login? (point out to another html. I know I can use createTemplateFromFile and evaluate() to generate the page itself
doGet() is used to access the params of an HTML form, right? But I am returning the html page here, from what I found I would need to return the params I get from the submitted form but I am already returning another thing and as far I know you cannot have two return in the same function nor two doGet() on the same project.