Code an upcoming event for a dashboard

Hi. I seem to be having difficulty setting up a dashboard item for my site. Essentially I’d like to have a dashboard tile called “upcoming events” and display the next 2-3 calendar event in the dataset. I only see options for first and last in the bubble editor and I have no idea how to code this. Does anyone have any ideas on how to do this easily? I feel like it should be an easy setup but I’m fresh out of ideas.

Thanks.

1 Like

Hi there,

There’s an option for :items until. Make it 3 and you should be golden!

Cheers :slight_smile:

Thanks for this. I ended up putting a constraint on the date to be “>= current date” (should’ve thought of that before) and then added the “:items until” function. It works, thanks!