Consider a Google Calendar scenario with various rooms that can be booked. Users will be browsing the different rooms and can create an entry in one of the free slots. The basic default properties provided by the Google Calendar are not sufficient for the business scenario but I haven't found a way to add more fields: the default new event form does seem to be customisable. Is this so?
My idea was to provide a Google Form to cover the rest of the details.
The process would look as below:
The user browses the different rooms and finds an available slot. The calendar entry is created with the basic details. The entry is added into the calendar and the details are recorded into a Google spreadsheet.
The user receives an email with another google form: the ID of the appointment would need to somehow be passed as parameter. The google form will be used to insert the "advanced details" into the spreadsheet.
An interface will be created to view the spreadsheet data in a more structured and user friendly manner.
Can something like this be done using Google Calendars, Google Forms and App Script? Any pointers where to start from? Or if not, how the process could be changed to be actually possible. The only starting points I found were Add ins which create calendar entries directly from Google forms, but this would require the user to start from a form, rather from the calendar, which I would not rather go for, not at least until I know there's no other way.
Related
I am working on a seat booking system so that user can fill in seat preference on Google form and data would be updated on Google sheet linked to Google form. However the key is that I want to show a real time information in form of matrix (with row and column in grid like fashion to indicate which seat is booked and which is available), so that user can fill the choice correctly in the Google form before submitting the form.
I somehow feel that requirement to show the real time information in form of matrix side by side to Google form may not be possible.
It could be my technical knowledge limitation on Google form and Google sheet. Would appreciate your thoughts on this if this can be achieved.
Thanks
Publish a webapp bound to Google sheets
Embed the Google form in your webapp
Poll your sheet from web app every minute or so.
Use LockService to avoid simultaneous execution conflicts.
I'm trying to create a Google spreadsheet, with the start of the table a pop up window comes with a question of whether it is an Entry or Pickup.
After the decision, it should fulfill certain tasks after the election.
When choosing an Entry, a form should appear where you have to provide certain information. (The entered information should also be automatically inserted on the Google Table by the script.)
When selecting a Pickup, another form will appear that compares the information entered with the list of Google Sheets.
And upon successful approval, it should fullfill on the list in the Pickup section.
My question is whether it is possible with Google Drive to create such a script.
My question is whether it is possible with Google Drive to create such a script.
Yes.
You can create such a script with Google Sheets with Apps Script by using UI Modals. Create a HTML Form on these modals and when the submit button is pressed send the data to a custom function that places the data on your sheet.
You can have this executed when the file is opened thanks to Triggers.
I own a calendar which is shared with a certain number of people (subscribers). I would like to keep track of which events the subscribers add/copy to their personal calendars. The calendar is created by a spreadsheet using Apps Scripts and I have full access on anything needed. The emails of the subscribers are known but I can't access info on their side.
I would be happy with a boolean of a kind showing if an event has been copied, but if that's possible then I believe I'll be able to also count which and how many subscribers copied which events.
No, the Calendar API doesn't have any way to obtain if and event was copied. In any case, the event copy option is just a template from the original event that can be completely modified before being created.
I am very new to scripting on Google form. In fact, I just recently fount out about it.
So what I'm trying to do is that I want to create a form that consists of duplicated pages in accordance to a number that is chosen by the user.
For instance, the form asks the user "How many people will be participating in this event?" If the user types in 5, the form will make 5 duplicates of a page, in which all of those pages will ask for the details of each participant.
So is there a way create duplicates of a page using a for loop?
First, you'll need to implement using installable form-submit trigger which runs when a user responds to a form.
For more information, check these two versions of the form-submit trigger:
Google Forms events
Google Sheets events
Then, when triggered, you may want to create new documents using the append methods in Class Body.
See this related SO posts for more insights and sample codes:
Duplicating a page of a document and replacing text on each page
Google app script copy document page
I would like to have a specific field in a response to a Google Form trigger a task creation. I am using a Google form to record when I am paid for a tutoring session. If someone says they would like a receipt after paying me, I would like to have a task created to remind me to send that receipt.
I have seen several add-ons that automate triggers, but I have already built a template in Google Docs I want to use. I didn't see any questions here that related to this particular need.