BannerTile method: BannerTile class
Syntax
BannerTile(&homepage_ID)
Description
Use the BannerTile constructor method to instantiate an object of the superclass. In your implementation, the constructor method for your custom application class must invoke this method to instantiate an object of the superclass.
Parameters
| Parameter | Description |
|---|---|
|
&homepage_ID |
Specifies the homepage ID for the fluid dashboard definition. This value, returned by the Request object, is used to instantiate an object of your custom application class, and then is passed to the superclass. |
Returns
A BannerTile object.
Example
In the following example, the constructor method of the MyBannerComp class instantiates an object of the BannerTile superclass:
method MyBannerComp
/+ &hp_ID as String +/
%Super = create PTNUI:Banner:BannerTile(&hp_ID);
%This.AnnounceText = "One or more tiles has been updated.";
rem %This.IsPersistContext = False;
end-method;
Related Topics