getTileLiveData method: Tile class

Syntax

getTileLiveData()

Description

This abstract method in the base class must be implemented in the subclass. In your implementation, you must set all properties required for the specified content type.

In addition, your implementation can include optional method invocations to dynamically override whether live data is displayed, whether a badge is displayed, or even the tile content type (by invoking one of the SetTileContentAs* methods).

Parameters

None.

Returns

None.

Example

method getTileLiveData
   /+ Extends/implements PTGP_APPCLASS_TILE:Tiles:Tile.getTileLiveData +/
   Local string &title, &img;
   SQLExec("Select DESCR, PTGPLT_IMAGE FROM PS_PTPPB_GROUPLET Where PTPPB_GROUPLET_ID = :1", %This.TileID, &title, &img);

   %This.ImageReferenceField.Value = @("Image." | &img);
   %This.TileImageReferenceLabel = &title;

end-method;