ps-team
10/27/2017 - 9:38 AM

Get a property or metadata from a page, in a safe way (so if the metadata doesn't exist it doesn't fall over). In this example we're replaci

Get a property or metadata from a page, in a safe way (so if the metadata doesn't exist it doesn't fall over). In this example we're replacing the title of a page based on metadata

if variable("MD_AlternativeTitle") isnot nothing then
    Me.TitleBar = variable("MD_AlternativeTitle")
  end if