OverrideDefaultProperties method: BannerTile class
Syntax
OverrideDefaultProperties()
Description
Implement the OverrideDefaultProperties method in your custom application class to override the default setting for certain properties—for example, setting the IsExpanded property to False.
Important:
Do not explicitly invoke this method. It will be invoked by the PeopleSoft system as necessary.
Parameters
None.
Returns
None.
Example
method OverrideDefaultProperties
/+ Extends/implements PTNUI:Banner:BannerTile.OverrideDefaultProperties +/
Local number &count;
SQLExec("Select count(*) FROM PS_TL_ESS_JOB_VW3 WHERE EMPLID=:1", %EmployeeId, &count);
If &count = 1 Then
%This.IsExpanded = False;
End-If;
end-method;