Rock Mobile Docs

Event Item Occurrence List By Audience Lava

Block that takes an audience and displays calendar item occurrences for it using Lava.

Query Parameters 

The query parameters this block looks for upon initialization are as follows:

NameTypeDescription
CampusGuidGuidAn optional Guid of the campus to filter event items to.

Block Configuration

List Title

The title to make available in the lava.

Audience 

The audience to show calendar items for.

Calendar 

Filters the events by a specific calendar.

Campuses

List of which campuses to show occurrences for. This setting will be ignored if Use Campus Context is enabled.

Use Campus Context

Determine if the campus should be read from the campus context of the page.

Date Range

Optional date range to filter the occurrences on.

Max Occurrences 

The maximum number of occurrences to show.

Event Detail Page 

The page to use for showing event details.

Lava Template

The template to use when rendering event items.

Merge Fields

In the template, you have access to these objects:

FieldTypeDescription
CurrentPagePageThe current page of the individual.
ListTitlestringThe title of the list.
EventDetailPageGuidThe Guid of the event detail page to navigate to.
EventItemOccurrencesListA list of all event item occurrences.
FilteredCampusesListA list of campuses based on the filters provided.
AudienceAudienceThe audience to display events for.
CalendarCalendarThe event calendar to display.

Enabled Lava Commands

The Lava commands that should be enabled for this block; only affects Lava rendered on the server.