Thilak

1. Make conditions in the code.gs for routing based on different ‘v’ parameter in the url.

code.gs

function doGet(e) {if( e.parameters.v == "Conversation"){

return HtmlService.createTemplateFromFile('Conversation').evaluate();
}else if( e.parameters.v == "ComposeView"){return HtmlService.createTemplateFromFile('ComposeView').evaluate();}else {return HtmlService.createTemplateFromFile('Index').evaluate();}};

c. Add anchor tag to alter the url by adding ‘v=Page2’

Index.html

<a href="<?= ScriptApp.getService().getUrl();?>?v=Page2">

--

--