SetDefaultContext method: BannerTile class

Syntax

SetDefaultContext()

Description

Override the SetDefaultContext method to set the initial context keys and values for the dashboard header component.

Note:

If the IsPersistContext property is set to False in the constructor method of your custom application class, the default context keys and values are still propagated to the tiles on the dashboard. However, these keys and values are not retained in memory.

Important:

Do not explicitly invoke this method. It will be invoked by the PeopleSoft system as necessary.

Parameters

None.

Returns

None.

Example

The following example demonstrates how to override the SetDefaultContext method within your custom application class.

method SetDefaultContext
   /+ Extends/implements PTNUI:Banner:BannerTile.SetDefaultContext +/
   %This.SetKeyValue("SETID", "AUS01");
   %This.SetKeyValue("DESCR", "Default description");
end-method;