Developing a web app which should enable users to organize the events on their calender without navigating from the app. How do you embed a GAS user’s google calender on a standalone web app?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t embed the users calendar UI (user interface) directly in your app. Currently there is no ‘calendar-widget’ that emulates the google-calendar UI. There is however a simple calendar widget called ‘DatePicker’ but on assumption i don’t think that’s what you mean.
You can however interact with the user’s calendar at a data-level with the calendar service https://developers.google.com/apps-script/service_calendar.
Keep in mind that the security level in this case is very important. If you publish your web-app to execute as the current user, it can interact freely with that user’s calendar.
If it’s set to execute as you (the maker of the script) it can’t access that user’s calendar. It can only access that calendar if it’s security level has been adjusted to be shared and editable by and with you (by the owner of that calendar).
In all, the read/write/access rules are exactly the same as if you use the services as ‘normal’ thru google’s own webservices. Keep that in mind when developing your app and you avoid a lot of headaches 😉