The filterview
parameter is an optional parameter that can be:
url
argument in the $Trumba.addSpud() method.trumbaEmbed
parameter in a URL-encoded query string.filterview
parameter worksfilterview
parameter, you must have configured a filter view by selecting the custom fields and field values that you want to filter by.
filterview
URL parameter.
To embed a pre-filtered versions of a spud, you can just copy and paste the filter-view-specific version of the spud code.
Tip When creating filter views, use names with no spaces because spaces in filter view names have to be replaced with "%20" values when you embed the spud code or provide a link to your pre-filtered calendar views or event feeds.
Filters the events spuds display to only those matching a pre-defined set of custom field values.
Gives you the ability to provide webpages for or links to pre-filtered collections of events.
Tip For events to display in filter view spuds, your published calendar must include some events that use the specific fields and field values that define the filter view.
For example, filterview: "SeniorsDowntown"
displays events for a filter view with the Audience field value of "Seniors" and the Neighborhood field value of "Downtown".
url
argument, $Trumba.addSpud() method, Upcoming promotion spudLimits the events that display in an Upcoming Photo promotion spud to those matching the field value requirements defined by a filter view named "GreenLectures." The filter view requires an Event Type field value of "Environment and Sustainability" and a Delivery/Format field value of "Lecture."
Tip You can manually add the filterview
URL parameter to a spud's code. Or, you can copy the filter-view-specific spud code that is automatically created when you create a filter view. Learn more.
In the spuds embedded at the base URL, limits the events displayed to those matching the field value requirements defined by a filter view named "SeniorsDowntown". The filter view requires an Audience field value of "Seniors" and a Location field value of "Downtown".
http://www.yoursite.com/calendar.html?trumbaEmbed=filterview%3DSeniorsDowntown
Tip %3D is the URL-encoded equals sign (=).
In the Atom feed at the base URL, limits the events displayed to those matching the field value requirements defined by a filter view named "NoOngoingEvents". The filter view hides all events with an Ongoing Events custom field value of "Yes".
http://www.trumba.com/calendars/calendarwebname.xml?filterview=NoOngoingEvents
Tip In calendar feed URLs, do not include trumbaEmbed=
and do not URL-encode parameters.