PadCodedocs

Add to Calendar

Opens a filled-in calendar event for the person to check and save.

Category: Device · Takes time: the next step waits for it

#When to use it

Use it to let people save an event in their calendar: a booking, a class, a deadline.

#Example

An Add to calendar button: Title: Team lunch, Start: ⚡︎ → Formula… addDays(today(), 1).

#Good to know

  • A filled-in event opens for the person to check and save. It needs no calendar permission.
  • Start has to be a date, or the step fails. With no End, the event lasts an hour.
  • The run waits until the event closes. Cancelling it doesn't stop the run.

#Add it

Select a view, open the Inspector's Actions tab, pick when it runs, tap Add action and choose Add to Calendar (under Device). Tap the step to open its settings.

#Settings

SettingWhat it doesKindDefault
TitleThe event's name.TextRequired
StartWhen it starts: a date.Any valueRequired
EndWhen it ends. One hour after the start if left out.Any valueOptional
NotesNotes on the event.Text

#See also