Solution 1 :

What does your doGet() function looks like?

For a WebApp with multiple html pages, you can navigate by retrieving the final part of the URL as an e.parameter in doGet().


function doGet(e) {
  if (!e.parameter.v) {
    return HtmlService.createTemplateFromFile("index").evaluate();
  return HtmlService.createTemplateFromFile(e.parameter['v']).evaluate();

Solution 2 :

The biggest problem here is the authorization.
I don’t know what you put for permission, but check this


Problem :

I have created a dashboard with navigation using JavaScript.

However, I am unable to toggle between different HTML created through google.script

Mentioned below is my HTML tags:

              <div class="collapsible-body">
                  <li><a href="https//" class="waves-effect active">Dashboard<i class="material-icons">web</i></a></li>

            <li class="bold waves-effect"><a class="collapsible-header">Leave Management<i class="material-icons chevron">chevron_left</i></a>
              <div class="collapsible-body">

currently I receive the following error page: refused to connect.

How can we achieve to do navigate correctly in this case.


Comment posted by Mask

That’s correct I have made changes in do get and in html