Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8924413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:24:31+00:00 2026-06-15T07:24:31+00:00

Can someone explain to me how to go about navigating to a new page

  • 0

Can someone explain to me how to go about navigating to a new page in google apps script is done ? My initial thought is to hide or delete all child elements within the app and then rebuild it accordingly. Is this the right approach ?

thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:24:32+00:00Added an answer on June 15, 2026 at 7:24 am

    Srik already arrived one very common approach for page navigation/organization.

    Here is another way using a query string attribute to fork off to a different UI path. This has the added benefit of getting the activity “spinner”.

    You can see it in action at this link below with the code powering it underneath it. Hope this provides another perspective.

    https://script.google.com/macros/s/AKfycbx68wR5HmCbil_LY8LlMd2m16_xNEdEtXq7-YfgqsMPqeoe-E3L/exec

    function doGet(e) {
      var app = UiApp.createApplication();
      var page = e.parameter.page
    
      //add a default page
      if(!page){
        page = '1';  
      }
    
      if(page === '1'){
        var label = app.createLabel('You are in page 1.')
    
        var anchor = app.createAnchor("Next page",ScriptApp.getService().getUrl()+"?page=2");
        anchor.setTarget('_self');
    
        app.add(label);
        app.add(anchor);
      }
      else if(page === '2'){
        var label = app.createLabel('You are in page 2, now.')
    
        var anchor = app.createAnchor("Go back",ScriptApp.getService().getUrl()+"?page=1");
        anchor.setTarget('_self');
    
        app.add(label);
        app.add(anchor);
      }
    
      return app;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Saw this post at CodeProject for FCKEditor. Can someone explain what about the new
Can someone explain the threading model in windows metro? I really get confusion about
Can someone please explain with example that I can understand about the difference between
Can someone explain in plain english what is SOA all about ? I hear
can someone explain me how this app works? I mean, is not about how
I am confused about which is which. Can someone explain the difference between the
Can someone please explain about the size of the classes in the case of
Can someone explain me about SQL Server Reporting Service and using it in ASP.net?
I am new to iPhone. Can someone explain this method declaration to me: -
can someone explain what is wrong with this delete command, i am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.