SetupFluidTarget method: DynamicLoader class

Syntax

SetupFluidTarget(Tile, URL)

Description

This method sets up the tile object properly for a given type of URL context (Fluid) and uses the URL to populate GltContentActionURL or GltPortalActionURL, the target which is launched when a user selects the tile.

Parameters

Parameter Description

Tile

Specifies a tile, which a user selects to launch the target content.

URL

Specifies the URL of the target content.

Returns

None.

Example

Local PTNUI:Model:Tile &oTile;   
   &oTile = %This.CreateTileUsingTab("", "XYZ");
   &oTile.RowNum = %This.GetNextRowNumber();
   &oTile.GltImageName = Image.MYIMAGE;
   %This.SetupFluidTarget(&oTile, GenerateComponentContentURL(%This.Tab.PortalName, %This.Tab.NodeName, MenuName.MY_MENU, %Market, Component.MY_COMPONENT, Page.MY_PAGE1, %Action_UpdateDisplay));