Supported context management methods include both automatic and explicit context updates.
<UIElement type="button"> <P pid="text" value="Go" /> <P pid="halign" value="center" /> <Event eventId="onClick"> <Action actionId="navigate"> <!--Context receiver – the target tile which receives the context upon navigating to it --> <P pid="target" value="TileB" /> <!-- Keys and values to be passed to the target Tile's local context --> <!-- The freetext value "Tablet" is passed for the key "type" --> <P pid="type" value="Tablet" /> <!-- The movie title coming from the binding MovieTitles is passed for the key "movie" --> <P pid="movie" value="{$MovieTitles.Name}" </Action> </Event> </UIElement>
<UIElement type="button"> <P pid="text" value="Tablet" /> <P pid="halign" value="center" /> <Event eventId="onClick"> <Action actionId="updateContext"> <!—Context receiver – the target tile which receives the context--> <P pid="target" value="Tile3" /> <!—the key and value to be updated --> <!-- $_context.<attribute> denotes a context attribute --> <P pid="platform" value="{$_context.platform}" /> <!—the key and value to be updated – value is free text in this case--> <P pid="type" value="Tablet" /> </Action> </Event> </UIElement>