Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Last active December 17, 2015 18:18
Show Gist options
  • Save tyoshikawa1106/5651886 to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/5651886 to your computer and use it in GitHub Desktop.
Event Custom Button Add Google Calendar
https://www.google.com/calendar/render
?action=TEMPLATE
&text={!Event.Subject}
&dates={!SUBSTITUTE(TEXT(DATEVALUE(Event.StartDateTime)), '-', '')}T{!MID( SUBSTITUTE(TEXT(Event.StartDateTime), ':', ''), 12, 6 )}Z/{!SUBSTITUTE(TEXT(DATEVALUE(Event.EndDateTime)), '-', '')}T{!MID( SUBSTITUTE(TEXT(Event.EndDateTime), ':', ''), 12, 6 )}Z
&details={!Event.Description}
&location={!Event.Location}
&trp=false
&sf=true
&output=xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment