Help

Re: Recurring Events Calendar - sample base

7036 9
cancel
Showing results for 
Search instead for 
Did you mean: 
Charles_Beckett
5 - Automation Enthusiast
5 - Automation Enthusiast

Schedules Example Base

This is my first post to forum; hope I get the mechanics right.

You may find this base handy if you need to schedule recurring events.

I work for a community radio station and wanted to be able to offer users the ability to schedule our on-air broadcasts and various meetings as recurring events. I wanted to give users the same flexibility they have in Google Calendar and Outlook.

I’ve encapsulated recurring date calculation logic in a single table: “Schedules”. I’ve seeded the table with example rows and the primary field’s default formula describes each row using the user-entered fields.

The Schedules calendar view shows a set of example recurring dates, with the primary field documenting each recurring pattern. Check out the calendar view to get a quick idea of scheduling features.

Since all recurring dates are calculated off of the value of the built-in Airtable TODAY() function, the calendar is always automatically up to date. Recurring dates that slip into the past are recalculated into the future as each day passes.

The implementation is not complete: The design and usage document in the Documentation trable of the base outlines design issues and the implementation backlog. I’m publishing this early for selfish reasons. If I’m lucky others will have better ideas and/or implementations. I’m thinking of you, W_Vann_Hall, and all those experienced developers that can poke holes in this thing and/or point me to better ideas and code.

I intend to deploy the schedule table by adding it to our bases where needed and to keep the date logic encapsulated in the table. I’ll use links, lookups and rollups to integrate the date logic into the tables that need it.

The ‘’'Documentation ‘’'table holds source listings and more detailed user documentation.

Recurrence Patterns

The date logic supports the following types of recurring dates:

  • Weekly events on a specified weekday.
    ** ‘‘Every Wednesday’’
    ** ‘‘Every other Thursday’’
  • Monthly events on a certain day of the month.
    ** ‘‘Every month on the 15th of the month.’’
    ** ‘‘Every other month on the 1sth of the month.’’
  • ‘‘Monthly on a certain weekday’’
    ** ‘‘Every month on the last Sunday’’
    ** ‘‘Every 4th month on the 3rd Tuesday’’
  • ‘‘One time events’’
    ** ‘‘Just once, on July 17th’’
  • ‘‘Ad Hoc events. These are like one-time events but the date field is not a formula, enabling the user to drag and drop the event to a different date time.’’
30 Replies 30

Just occurred to me that you might not be able to see anything but the first event because showing multiple event fields in a calendar is a “Pro” account feature. If you are running the base in a free workspace you’ll only see the first of the four event fields.

Hi Charles,
Thanks for sharing, not bad for a first time forum poster :winking_face:
I’ll will have a look at the way you solved this complex issue, it might be handy for us (public broadcaster in the Netherlands). We use Airtable extensively, but not yet on this daily programming level. Although it shows how you can shape Airtable according to your needs, the downside is making it too complicated and too dependant on just one or some people in the organisation. I’m looking forward to the V2 version you are referring to and will certainly try your way of solving this issue.
Kind regards, GertJan

Thanks I’m a couple of days away from V2 now.

I’m doing this for our community radio station so I’m interested in what you are doing with Airtable in that space. I’m also interested in how/if your organization is getting a non-profit discount on your Airtable collaborator accounts.

Thanks,

Chuck Beckett, every Wednesday 9-11am on WFHB: Community Radio for south central Indiana

91.3 FM | 98.1 Bloomington | 100.7 Nashville | 106.3 Ellettsville

http://wfhb.org and https://www.facebook.com/wfhb.radio/

I’ve published the 2.0 version of this base.

Great job @Airtable_Clerk!

It looks great and it’s very easy to follow.

Thanks for sharing.

Mary Kay

Thanks for the update!
About the non-profit discount: yes, we as public broadcaster have a official status that made us eligible for the non-profit discount. That helps a lot, in managing costs. Regarding that: the VPRO has ca 350 people working in all kind of professions, and we have grown in 2-3 years from 5 pro-accounts towards 50. And are about to make the step towards an Enterprise light account, mainly to have more control over users and to integrate the user accounts into our SSO.

We are now using a wide variety of bases. It is used to control the crossmedia workflow for specific programs, where it functions as a workflow tool and as an archive. Overall the main (and first) Base we created helps us sharing the content and status of all our media production (audio, video, online, lineair, on demand). This backbone of programmes is used for planning people in different departments, but also to keep track of awards and prizes. It has grown into an essential part of our way of working with over 50+ kinds of metadata and several formula driven fields. The latest improvement sends, through Automations, alerts to the dedicated marcom people when titels change or when publication dates (specific or expected) change.

Important guideline has been that Airtable is not thé official authority, that it is managed without any support from the ICT department, and that it is better to to be 80% right for all the people, than trying to achieve 100% accuracy and never getting there (and loosing your flexibility).

Very true. The allure of Airtable to folks who don’t want to be a developer fades when their Base becomes more complex. When your base doesn’t demand complexity, you’re in Airtable’s sweet spot. But for some applications of Airtable you can’t avoid complexity. Recurring dates, particularly dates that recur on the 1st/2nd/3d/4th last Monday/Tuesday/Wednesday etc. of a month are just not easy to implement.

My hope with this base was to leverage Airtable’s sync feature to create a Component: a base that encapsulates the complexity of recurring date calculations and separates that code from the bases that need the results. The base is intended to be maintained without impacting the users’ bases that need it.

If I can provide support for this base, then folks won’t have to be developers to make use of the base.

My motives are not entirely selfless – if there are enough organizations with experienced Airtable developers that decide to try out the recuring dates base, then they will find bugs and suggest fixes, they’ll suggest optimizations and better techniques, and my organization can benefit from that.

I suppose the success of this effort depends on the number of Airtable users who decide they can benefit from it, the number of users who find and suggest bug fixes, and how long I can maintain the base.
I’m very open to putting this base in a Workspace of its own and sharing that workspace out to anyone who is motivated enough to help find and fix bugs. Not exactly GitHub, but hopefully not totally unrealistic.

I’ve updated this base to V2.01, correcting a configuration code error. Details are in the updated documentation. If you have already deployed the base into an environment and don’t want to redo that deployment, then you can just patch your current V2.00 base. The documentation table provides patch instructions. The patch involves updating a single formula in a field in the Events table.

Hey Chuck,

Is version 2 out? If so, would you mind sharing it with me. This was a lifesaver!

Hi Elayna, welcome to Airtable!
Very glad you found it useful. The latest version is at Recurring Events Calendar Server - Airtable Universe feel free to ping me with any questions you may have.