I wanted to clarify this question from another post here in the hopes a Caspio person will see this and resolve the issue.
It would be extremely helpful to be able to push a new calendar event from a Caspio Submit (or Update) datapage to google calendar.
I found a post that uses the example below to open Google Calendar and populate a new event's fields with example data. This creates a button that pushes it all in the url:
The problem is getting the Caspio fields to populate the data- especially the dates and times. Also on a Submission form it seems to only bring into the url Authenticated fields (maybe because the new record's values aren't saved yet). That's ok if an Update form must be used, to make sure the field's values are pushed into the url.
The issue is it doesn't seem to be pushing the values in a way Google Calendar can use it, especially the first 'text=' and the dates. Using the example above as a map, how does the below code need to be modified so google calendar can read it correctly?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
DesiLogi
I wanted to clarify this question from another post here in the hopes a Caspio person will see this and resolve the issue.
It would be extremely helpful to be able to push a new calendar event from a Caspio Submit (or Update) datapage to google calendar.
I found a post that uses the example below to open Google Calendar and populate a new event's fields with example data. This creates a button that pushes it all in the url:
<a class="btn btn-primary btn-xs" href="https://www.google.com/calendar/render?action=TEMPLATE&text=Lunch%20with%20Stripe&dates=20161116T120000Z/20161116T140000Z&details=https%3A%2F%2Flondon.techhub.com%2Fevents%2Ffounders-lunch-5&location=TechHub%20London&sprop=&sprop=name:" id="addToGoogle"><i class="fa fa-google-plus"></i> Google</a>
The problem is getting the Caspio fields to populate the data- especially the dates and times. Also on a Submission form it seems to only bring into the url Authenticated fields (maybe because the new record's values aren't saved yet). That's ok if an Update form must be used, to make sure the field's values are pushed into the url.
The issue is it doesn't seem to be pushing the values in a way Google Calendar can use it, especially the first 'text=' and the dates. Using the example above as a map, how does the below code need to be modified so google calendar can read it correctly?
<a class="btn btn-primary btn-xs" href="https://www.google.com/calendar/render?action=TEMPLATE&text=[@field:mytitletfield]&dates=[@field:CalDate*]/[@field:CalDate*]&details=[@field:myNotesfield]&location=[@field:myLocationfield]&sprop=&sprop=name:" id="addToGoogle"><i class="fa fa-google-plus"></i> Google2</a>
I can get all but the first 'text=' and the Dates to work. Any help in figuring this out would be greatly appreciated.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.