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

  • Home
  • SEARCH
  • 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 8479135
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:56:26+00:00 2026-06-10T18:56:26+00:00

Let me provide some context: I created a standalone project call Contact Form. Within

  • 0

Let me provide some context:

I created a standalone project call “Contact Form”. Within this project, I created 2 scripts called “Script1” and “Script2”. For “Script1”, I use the GUI Builder to create a form. For “Script2”, I created another form, this time in code. Both of these scripts call the “doGet()” function.

Anyway, I published “Script1” as a web app, click on the URL and everything is there. Perfect! Now here comes the problem that got me confused. When I publish “Script2” as a web app, the web app URL takes me to “Script1” web app, WHAT!? I’d only see “Script2” web app if I click on “test web app for latest code” link.

Why is this? So my question is this?

Can you publish 2 web apps using 1 project like the way I have it setup? If you could, how are the resources being shared between the 2 web apps?

I know in order to deploy a script as a web app, it must contain the doGet(e) function. How does a project handle multiple files with doGet() functions?

Basically I am confused with project, multiple files within a project, and web app deployment within a project. I read the Google App Scripts Documentation from Google but it doesn’t provide the clarification I was looking for. If someone cold shed some light on this, I greatly appreciate it.

  • 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-10T18:56:27+00:00Added an answer on June 10, 2026 at 6:56 pm

    The purpose of files within a project is to simply separate code for the convenience of the developer. So, if you have two functions with the same name, it is hard to say which one will be executed.

    If you want to have two web apps, you must have two different projects. You cannot have them in the same project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let me provide some context: I am building a tabbed application that allows a
First let me provide context: In C# an object passed into a method is
I've got a weird problem with udp sockets. First of all, let me provide
Does iOS SDK provide a way to let iOS app talk to app running
Selenium provide many kinds of browser driver, so I want to let the user
Does the blackberry phone from RIM provide an API that would let a developer
Can someone provide a simple example of how to properly use Html.RadioButtonFor? Let's say
I want to provide a button which cancels the present task, Let's say I
The caption is confusing. Let me clarify a bit: I'd like to provide events
I'm having some problems creating a view for a node within my website. The

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.