Apple TV Docs

TV Pages

Content

The content for your page must be valid TVML. The following Lava merge fields are available to you.

  • CurrentPerson - Information on the current person logged into the TV App.
  • Context - Any context objects.
  • Campuses - Listing of all campuses.
  • SiteStyles - This variable allows you to apply the global site styles to your page.
  • CurrentPage - This field allows you to get the default RockPage information about the current page.
  • CurrentPersonCanEdit - Determines if the current person has edit access to the page.
  • CurrentPersonCanAdministrate - Determines if the current person can administrate the page.
  • PageParameter - Returns a collection of page parameters.
  • TvShellVersion - Returns a decimal value of the version of the TV Shell.
  • DeviceData - Returns information about the device. Example data below:
    • DeviceType: 20
    • Manufacturer: Apple
    • Model: x86_64
    • Name: Apple TV 4K (at 1080p) (2nd generation)
    • Version: 15.2
    • DevicePlatform: 0 (0 = TvOS)
    • DeviceIdentifier: 37002498-F3B3-4500-BC86-44BA12398CB6
  • TvAppTheme - The theme of the application (Light or Dark)
  • IsDemoModeEnabled - Boolean flag that tells you if the client shell is running demo mode.