google-apps

create a new page in a form dynamically, based on data of the prev. page

杀马特。学长 韩版系。学妹 提交于 2019-12-02 03:20:25
问题 I have a question regarding forms in google-apps-script. Lets say I have already created a form with a single page and a input box for text. Is it possible to create the follow-up page dynamically, based on the data out of the textbox? Something like: First Page: insert customer id -> continue -> Second Page: information about the customer. I know that there are events like onLoad and onSubmit, but there is no onContinue event for example. Is it possible to create something like that with

Create new Doc in Google drive after processing uploaded text file

回眸只為那壹抹淺笑 提交于 2019-12-02 03:00:51
I successfully upload a text file to google Drive and I have written a method that successfully translates text to pig latin. now I am attempting to create a new document in Google Drive to output the translated text. However I always receive the message: "an error Occurred" and when I check my Drive I only have the original uploaded text. Here is my code: function doGet(e) { var app = UiApp.createApplication().setTitle("Upload"); var formContent = app.createVerticalPanel(); formContent.add(app.createFileUpload().setName('thefile')); formContent.add(app.createSubmitButton('submit')); var form

create a new page in a form dynamically, based on data of the prev. page

允我心安 提交于 2019-12-02 02:38:30
I have a question regarding forms in google-apps-script. Lets say I have already created a form with a single page and a input box for text. Is it possible to create the follow-up page dynamically, based on the data out of the textbox? Something like: First Page: insert customer id -> continue -> Second Page: information about the customer. I know that there are events like onLoad and onSubmit, but there is no onContinue event for example. Is it possible to create something like that with google-apps-script? What would be the best way to archive such a behavior? B.R. Mogsdad Using the UiApp

Google plus login, Android singing in prompt is repeatedly occure while login

独自空忆成欢 提交于 2019-12-02 00:45:36
问题 I am new to android development. I am integrating google plus login into my App, I am little bit confusing that the Singing in prompt of google is occurring repeatedly. I can't understand why, is anything wrong with me? I am following Google Developer Site to make this thing. I tested the app using multiple google account but 2 of them are works fine but rest of the account did not. 回答1: Have you tried: How do I debug my Google+ integration? By enabling logging, you can diagnose network

Google plus login, Android singing in prompt is repeatedly occure while login

。_饼干妹妹 提交于 2019-12-01 22:14:02
I am new to android development. I am integrating google plus login into my App, I am little bit confusing that the Singing in prompt of google is occurring repeatedly. I can't understand why, is anything wrong with me? I am following Google Developer Site to make this thing. I tested the app using multiple google account but 2 of them are works fine but rest of the account did not. Have you tried: How do I debug my Google+ integration? By enabling logging, you can diagnose network issues when working with the Google APIs. To enable logging, run the following command: adb shell setprop log.tag

'webViewLink' is empty/null when using PHP code sample

梦想的初衷 提交于 2019-12-01 21:53:42
问题 Using the latest version of PHP apis from Google (0.60), the code sample from google developer page seems to work except that the 'webViewLink' field is empty/null when using 'print_r($createdFile)' at the end of the function. The drive.google.com site for my Google Apps domain shows the new folder successfully created with public permissions. Any ideas? 回答1: As a workaround, if you have folder ID, you can use https://googledrive.com/host/FOLDER_ID_HERE 回答2: I wrote a small JavaScript app

Google Apps - Send email from a nickname

蓝咒 提交于 2019-12-01 21:32:00
问题 I have an email account in google apps 'user@mydomain.com' and it has a nickname 'nickname@mydomain.com'. Can I send an email from 'nickname@mydomain.com'? Thx a lot! 回答1: Definitely! Google Apps supports sending from any email address that you own, including nicknames. Sign in to your Google Apps email. Click Settings along the top of any page, and select the Accounts tab. Under Send mail as, click Add another email address. In the Email address field, enter your nickname. Click Next Step >>

'webViewLink' is empty/null when using PHP code sample

亡梦爱人 提交于 2019-12-01 21:26:36
Using the latest version of PHP apis from Google (0.60), the code sample from google developer page seems to work except that the 'webViewLink' field is empty/null when using 'print_r($createdFile)' at the end of the function. The drive.google.com site for my Google Apps domain shows the new folder successfully created with public permissions. Any ideas? As a workaround, if you have folder ID, you can use https://googledrive.com/host/FOLDER_ID_HERE I wrote a small JavaScript app that lists your public folders. Can you confirm your folder is showing in the list? If it's not showing, it's not

Google Apps - Send email from a nickname

橙三吉。 提交于 2019-12-01 19:05:16
I have an email account in google apps 'user@mydomain.com' and it has a nickname 'nickname@mydomain.com'. Can I send an email from 'nickname@mydomain.com'? Thx a lot! Definitely! Google Apps supports sending from any email address that you own, including nicknames. Sign in to your Google Apps email. Click Settings along the top of any page, and select the Accounts tab. Under Send mail as, click Add another email address. In the Email address field, enter your nickname. Click Next Step >> and then click Send Verification. Gmail will send a verification message to your other email address to

OpenById Error when generate Google Doc from Google Form Submission

孤街浪徒 提交于 2019-12-01 13:52:14
I am currently working in a Google Education domain and I would like to automatically generate a Google Doc via an onSubmit trigger from a Google Form. I have a template file that I would like to copy and then replace fields (e.g., {{name}}) with responses from the form. Upon submission, the template Google doc is successfully copied and renamed, but I cannot open the doc to replace the text fields. var templateFile = DriveApp.getFileById(id); var targetFolder = DriveApp.getFolderById(id); var newDocName = title + "_" + name + "_" + submissionDate; var newFile = templateFile.makeCopy