Lava Filters - Campus
Category:Person
Description:Campus returns the person's campus. Since a person can have more than one campus
(if they are a part of more than one family) the first campus will be provided. If
you would like an array of all their campuses you can provide the 'All' extension.
Input: "CurrentPerson": {
"FullName": "Ted Decker",
"AnniversaryDate": '',
}
Lava: {% assign personCampus = CurrentPerson | Campus %}
{{ CurrentPerson.NickName }}, your campus is {{ personCampus.Name }}
Output: Ted, your campus is Main Campus.