Nil - standard policy to use pascal case to name classes without upper case strings of letters together (upper case represents constant values in code).
I agree that TIBCO did this years ago, also IBM Project Zero, that Korean guy's PHP-based UI designer, WaveMaker, MS Visual Studio ( :) even et.c
But the interesting point here is not that UI WYSIWYG editors already exists but that Google now has a decent one that is *integrated with Google Docs/Apps* so the back-end storage and connectivity is solved. Maybe not in an optimal way (yet) but still not something you have to worry about.
I think this is the beginning of something that will go a very long way. Looking forward to views/containers and transitions so we can have tab, stack, accordion containers and hierarchical containers.
So now we've almost got an online version of HyperCard? Excellent! (No sarcasm intended; HC was an amazingly liberating platform, and quite ahead of its time.)
Where can we go for help on this? The example code doesn't work for me. I created my own GUI and saved it as ATMProgram. I used the sample code provided in the help file. All I did was change the line app.add(app.loadComponent("myGUI")); to reflect my GUI's name which is "ATMProgram", and I get this error: Invalid argument: resourceName (line 3). I've googled the error, but with no luck. Why doesn't the most basic sample code work?
function myFunction() { var app = UiApp.createApplication(); app.add(app.loadComponent("ATMProgram")); SpreadsheetsApp.getActiveSpreadsheet().show(app); }
as loadComponent("resourceName") method is still not working, is there any chance to add an "Export_Code" functionality tu GUI Builder (something like a new option in File menù)? In this way we could be able to cut - paste relevant component's code created by GUI builder.
Hi it is my pleasure to inform you all that today (@July 23rd 2011), the loadComponent() method IS WORKING FINE (also for my scripts). And it is a really GREAT feature!!
I'm trying to play with this as a newbie and build a form with two text boxes and button where I can take two numbers and add them and return the results under the button. I can build the GUI form and display it as a gadget in Sites, but I can't get the button to work (and probably the input boxes either). Yes, I'm a total newbie - just curious and want to try it out.
my code is not showing any error at run time but I don,t know why its not showing my ui screen.please help me.
function doGet() { var app = UiApp.createApplication(); var component = app.loadComponent("MailGui"); app.add(component); return app; } function sendMail() { var txtTo=app.getElementById("txtTo"); }
One of the most important feature of the app builder is app script,Ui script etc and we can learn with the help of this blog information. Thanks for sharing this useful information with us.
23 comments :
This is an absolutely fantastic feature!
When will this feature roll out for Google Apps Education?
Why is that 'I' in 'UI' lowercase? It's bugging the hell out of me...
Nil - standard policy to use pascal case to name classes without upper case strings of letters together (upper case represents constant values in code).
Reminds me of something :D http://bit.ly/ma9l3y
sorry guys Tibco GI had this years ago. The real gui builder is called a Designer and was built by a Sencha intern (see ExtJS).
I agree that TIBCO did this years ago, also IBM Project Zero, that Korean guy's PHP-based UI designer, WaveMaker, MS Visual Studio ( :) even et.c
But the interesting point here is not that UI WYSIWYG editors already exists but that Google now has a decent one that is *integrated with Google Docs/Apps* so the back-end storage and connectivity is solved. Maybe not in an optimal way (yet) but still not something you have to worry about.
I think this is the beginning of something that will go a very long way. Looking forward to views/containers and transitions so we can have tab, stack, accordion containers and hierarchical containers.
Good work!
So now we've almost got an online version of HyperCard? Excellent! (No sarcasm intended; HC was an amazingly liberating platform, and quite ahead of its time.)
That is suspect, it looks like VB6 built on Javascript.
When Will this be added?
when will this be added?
Where can we go for help on this? The example code doesn't work for me. I created my own GUI and saved it as ATMProgram. I used the sample code provided in the help file. All I did was change the line app.add(app.loadComponent("myGUI")); to reflect my GUI's name which is "ATMProgram", and I get this error: Invalid argument: resourceName (line 3). I've googled the error, but with no luck. Why doesn't the most basic sample code work?
function myFunction() {
var app = UiApp.createApplication();
app.add(app.loadComponent("ATMProgram"));
SpreadsheetsApp.getActiveSpreadsheet().show(app);
}
@RS
Post your question at the Google Apps Script help forum:
http://www.google.com/support/forum/p/apps-script?hl=en
Hi Thx for the video. It's possible to have the full code ?
Currently, Jul 17th, loadComponent( "resourcename") method is still causing a bad "Invalid Argument: resourceName" error.
Hi i would like ask a question:
as loadComponent("resourceName") method is still not working, is there any chance to add an "Export_Code" functionality tu GUI Builder (something like a new option in File menù)? In this way we could be able to cut - paste relevant component's code created by GUI builder.
Thansk for your support.
Raul
Hi
it is my pleasure to inform you all that today (@July 23rd 2011), the loadComponent() method
IS WORKING FINE (also for my scripts). And it is a really GREAT feature!!
Thanks to all the guys they worked on it.
Raul
Do we have to build the UI again for every spreadsheet we want to run the script in?
I'm trying to play with this as a newbie and build a form with two text boxes and button where I can take two numbers and add them and return the results under the button. I can build the GUI form and display it as a gadget in Sites, but I can't get the button to work (and probably the input boxes either). Yes, I'm a total newbie - just curious and want to try it out.
hi everyone!
my code is not showing any error at run time but I don,t know why its not showing my ui screen.please help me.
function doGet() {
var app = UiApp.createApplication();
var component = app.loadComponent("MailGui");
app.add(component);
return app;
}
function sendMail() {
var txtTo=app.getElementById("txtTo");
}
Hi Corey - Is there any way you know of to reference an "app" after saving the appid(using "app.getId()")?
That would be great and provide access to widgets on other pages.
Thanks Commet
OMG! I'm so excited! Raw tool... but better then nothing :-) Anyone knows where to submit found glitches?
One of the most important feature of the app builder is app script,Ui script etc and we can learn with the help of this blog information. Thanks for sharing this useful information with us.
Post a Comment