addToolItem(item:Object, type:PP.Ui.WelcomeScreen.ToolType, data:Object);
item. Tool settings.
type. Tool type.
data. Tool data.
The addToolItem method adds an element to the list of tools in the welcome screen.
To execute the example, the HTML page must contain the WelcomeScreen component named wscreen (see Example of Creating the WelcomeScreen Component). Add a tool to the welcome screen:
TOlap= { ResourceKey: "welcomeScreenOLAP", ColumnIndex: 1, }; // Add a tool wscreen.addToolItem(TOlap, PP.Ui.WelcomeScreen.ToolType.OLAP_ANALYSIS, {ModuleType: PP.App.ModuleType.Olap});
See also: