How to display future recurring activities without creating database entries

Hi Bubblers,

I’m working on a project where I need to handle recurring activities, specifically for an activity feature in my software. The challenge I’m facing is how to display these future activities in a calendar or repeating group without actually creating the activity records in the database beforehand. Here’s a specific example to illustrate my use case:

  • I have an activity that recurs weekly on Mondays.
  • There is no end date for the recurrence.
  • I do not want to create all future occurrences in the database when the activity is first created.

What I need help with:

  • How can I dynamically generate and display these future recurring activities in a calendar or a repeating group?
  • Ideally, I want to instantiate (create) the activity in the database only on the day it is supposed to take place.

Additional context:

  • I’m using Bubble’s built-in calendar (Full Calendar) and repeating group functionalities.
  • The recurrence pattern might vary (e.g., daily, weekly, monthly).

I tried using “List Item Expression” and “Javascript to Bubble” elements from the Toolbox plugin, to create a list of Activities “in memory” and attribute them to a state, but they only allowed to search activities in the database using the list I created using these elements.

Has anyone tackled a similar problem or have any suggestions on how I can achieve this? Any plugins, workflows, or custom solutions that you can recommend would be greatly appreciated!

Thank you in advance for your help!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.