AddTileToSection method: DynamicLoader class
Syntax
AddTileToSection(Tile)
Description
Use this method to add the newly created tile to the section within the homepage (passed in parameters of constructor).
Parameters
| Parameter | Description |
|---|---|
|
Tile |
Specifies the tile to be added to a section. |
Returns
None.
Example
&oTile = %This.CreateTileUsingTab("", "MY_SECTION");
&oTile.RowNum = %This.GetNextRowNumber();
&oTile.GltImageName = Image.MY_IMAGE;
%This.SetupFluidTarget(&oTile, GenerateComponentContentURL(%This.Tab.PortalName, %This.Tab.NodeName, MenuName.MY_MENU, %Market, Component.MY_COMPONENT, Page.MY_PAGE1, %Action_UpdateDisplay));
%This.AddTileToSection(&oTile);