Google App : More than one HTML or script file in the the same App Project?

0 views
Skip to first unread message

Mona Everett via StackOverflow

unread,
Jun 1, 2013, 10:17:23 PM6/1/13
to google-appengin...@googlegroups.com

I'm a fairly seasoned web developer, so the Google Web framework with Google App Scripts looks just right for me. Unfortunately, I don't get very far before I hit a wall. Here is the largest one (right now).

Scenario: Develop a simple app to solve some a few of the programming problems I always use when I approach a new language. Put each problem on a separate page. Put the css and javascript in separate files.

This works fine initially. The first problem is a statistical mean of means problem. I found their starter template for reading data from a spreadsheet, modified the template to show the data, and went from there. CSS was simple and included in the file. It only required the initial index.html and code.gs.

But now, I want to modify index.html to add links to call OTHER HTML files, which the App project cheerfully helps me to add. I can add more .gs files as well. Great, I think. But HOW do I call them? A link requires a URL, but the only one I have is to the project. As far as I can tell, there is no way to reference a file included in the same project. I can call a function in some other library but not on another page of this one. The .gs scripts look to be serverside code. What do I do with and access client side javascript files. Or CSS files?

I found this on your site but I don't have a clue how to actually use it. Use project Javascript and CSS files in a Google Apps Script web app?.

I've searched and searched for answers to these questions and have found very little with a real working project example.

Thanks for any help you can give me.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/16879144/google-app-more-than-one-html-or-script-file-in-the-the-same-app-project
Reply all
Reply to author
Forward
0 new messages