No video

Apps Script: HTML Templating

  Рет қаралды 32,056

Jordan Rhea

Jordan Rhea

Күн бұрын

Пікірлер: 35
@TECLEMAIS
@TECLEMAIS 2 жыл бұрын
Show, tem como adicionar um favicon?
@israelrivera4467
@israelrivera4467 Жыл бұрын
Hey everyone, can someone tell me how I form a scriplet: . Is it in the Appscript code, HTML or withing scriplet? I already tried some thing, did not work. Thank you for your help.
@thenextbigthingsearchwithi3719
@thenextbigthingsearchwithi3719 5 жыл бұрын
that really shows how powerful app script is very wonderful indeed
@admireargumentactivity
@admireargumentactivity 6 жыл бұрын
Nice work on all your videos! Watched a ton got way more to go, whats your background?
@JordanRhea
@JordanRhea 6 жыл бұрын
Sorry Martin! I never replied to this. My background is in English education.
@surajb5139
@surajb5139 4 жыл бұрын
Thanks for the explanation. I have a question here. Will the scriplets/printed scriplets work with html called from container bound scripts or will it work only when the html is called from a doGet() function in a webapp standalone script?
@db2leader
@db2leader 4 жыл бұрын
Awesome Videos Jordan! I'm stuck in a pinch and need help! I've built an application that displays topics for a number of day. Every "day" page is populated by looping through my days sheet and then it pops it in to a htmlTemplate and sends it back to my main application. The trouble is, its tooo slow! Any ideas?
@1endell
@1endell 5 жыл бұрын
Very nice, man! Excellent work
@applicationexplorer9818
@applicationexplorer9818 3 жыл бұрын
The browser is NOT displaying the static map images, any idea why?
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
When you got an using the gs published url ( because the lacking of the spreasheet key between /d/ and /edit), was there a way to avoid this error from happeding from the begining. Where should I have put the Google Spreasheet key while coding?
@JordanRhea
@JordanRhea 6 жыл бұрын
Hopefully I answered this question above
@gemavision7330
@gemavision7330 7 жыл бұрын
Muito bom. Obrigado por compartilhar.
@JordanRhea
@JordanRhea 7 жыл бұрын
Gracias!
@RolandKuka
@RolandKuka 6 жыл бұрын
very good tutorial. Thank you
@MarisolFlores-jx6bg
@MarisolFlores-jx6bg 4 жыл бұрын
Buen dia me marca un error en: var html=HtmlService.createTemplateFromFile("formulario2"); podria ayudarme codigo: var sheetId=e.parameter.sheet_id; var html=HtmlService.createTemplateFromFile("formulario2"); var responses=SpreadsheetApp.openById(sheetId);
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
You are a TREASURE!
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
Correction When you got an error using the gs published url ( because the lacking of the spreasheet key between /d/ and /edit), was there a way to avoid this error from happeding from the begining. Where should I have put the Google Spreasheet key while coding?
@JordanRhea
@JordanRhea 6 жыл бұрын
Hi Jeannette, good question. Basically, if your script is opened from inside a spreadsheet, doc, or what-have-you then you can use the method .getActiveSheet(). However, if you create a stand-alone script file, you need to use the key. Does the answer your question?
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
In your tutorial, it is a stand-alone script, so you need to insert the key somewhere in the code. Where would you place it? function doGet(e) { var SHEET_ID = e.parameter.sheet_id; var html = HtmlService.createTemplateFromFile('summerVacation'); var responses = SpreadsheetApp.openById(SHEET_ID); html.responses = parseResponses(responses.getDataRange().getValues()).sort(function(a,b) {return new Date(a.start) - new Date(b.start);}); return html.evaluate().setTitle('Summer Vacation Schedule'); }
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
I receive Bad value (line 4, file "Code") This is my script url script.google.com/a/upr.edu/macros/s/AKfycbw5rYnlHEu0cuz--7ec0391Ho6IjzQTJzL_yBzL3wk/dev and my key is 1wVr5vmgFMmlLjzYLTGRjwSDfx3yl7Tgc5ukqfvfdA5U I see that I have to follow my script url with a ?sheet_id= so it shoul be script.google.com/a/upr.edu/macros/s/AKfycbw5rYnlHEu0cuz--7ec0391Ho6IjzQTJzL_yBzL3wk/dev?sheet_id=1wVr5vmgFMmlLjzYLTGRjwSDfx3yl7Tgc5ukqfvfdA5U but I would prefer to code it and not to have to enter it every time
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
I still showing an error, should be another kind of type from myself This is what I have .vacation { display: inline-block; position: relative; color: white; } .vacation h3, .vacation h6 { position: absolute; background-color: darkgreen; color:white; padding:4px 12px; opacity:1; transition: all 0.3s; } .vacation h3:hover, .vacation h6:hover { opacity:0; } .vacation h3 { top:20px; } .vacation h6 { bottom:20px; right:0; } .vacation: hover h3, h6 { opacity:1; }
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
Where should I place the key?
@Cuentil
@Cuentil 6 жыл бұрын
Heroes exist!. Thanks
@JordanRhea
@JordanRhea 6 жыл бұрын
That is quite the compliment +Esteban. Cheers!
@ashiksaleem360
@ashiksaleem360 5 жыл бұрын
@@JordanRhea Not All heroes wear cape
@alexandre1
@alexandre1 6 жыл бұрын
👌
@jeannettemillandvigio3579
@jeannettemillandvigio3579 6 жыл бұрын
Alexandre, when Rhea got an error on while publishing the google script because the lacking of the spreasheet code between /d/ and /edit, was there a way to avoid this error happeding from the begining. Where should I have put the Google Spreasheet key while coding?
@patrickberkery8854
@patrickberkery8854 4 жыл бұрын
I like your vids! Check out Moment.js library for date handling. Much easier than formatting and manipulating dates from scratch.
@ryaa4494
@ryaa4494 6 жыл бұрын
why i got an error in line 11 from code file
@JordanRhea
@JordanRhea 6 жыл бұрын
I think that is because I forgot to put the spreadsheet key in. I corrected myself later in the video.
@ryaa4494
@ryaa4494 6 жыл бұрын
Jordan Rhea ok,thanks
@julia.vasilieva
@julia.vasilieva 5 жыл бұрын
@@JordanRhea got an error here: return html.evaluate().setTitle("Tasks");
@rokstar343
@rokstar343 5 жыл бұрын
@Rhinzz and Julia, I had a typo in my html file and got the same error. I had a parenthesis where I should have had a curly bracket. So here: I had:
@Cuentil
@Cuentil 6 жыл бұрын
Heroes exist!. Thanks
Apps Script: JSON Example
16:40
Jordan Rhea
Рет қаралды 23 М.
Apps Script: Contact Form Example
18:18
Jordan Rhea
Рет қаралды 18 М.
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 18 МЛН
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 8 МЛН
managed to catch #tiktok
00:16
Анастасия Тарасова
Рет қаралды 45 МЛН
Apps Script: Using Codepen to layout your HTML and CSS
23:34
Jordan Rhea
Рет қаралды 11 М.
Introduction to Google Apps Script
35:40
Jordan Rhea
Рет қаралды 130 М.
Apps Script: Using Multiple Services in a Web App
29:42
Jordan Rhea
Рет қаралды 8 М.
66 Most Useful Websites Everyone Should Know!
44:06
Brett In Tech
Рет қаралды 1,2 МЛН
Apps Script: Dynamic Forms Multiple Choice
13:35
Jordan Rhea
Рет қаралды 40 М.
Video 12: Scrape a Website | Google Apps Script | Learn in 15 Minutes
6:36
Full Stack Development
Рет қаралды 10 М.
HTMX Tutorial: How to Build Interactive Web Pages with Minimal JavaScript
30:57
Monsterlessons Academy
Рет қаралды 13 М.
microsoft doubles down on recording your screen
10:00
Low Level Learning
Рет қаралды 35 М.