Developer Docs - Apple TV Docs - Context

Context's are saved across viewing sessions. This is most commonly used for the concept of Campus, but could be used for other use cases.

Context Commands

There are two commands to know when setting context:

Set Context

Clear Context

Using Context in Page Lava

Once set the context can be used in the page loads. An example of this is below using the campus context.

{% assign campus = Context.Campus %}

Campus Context Details

The campus context is not linked to a person's campus. If a person is logged in and you want to personalize the context based on campus you should: