This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the AddSectionItems command.
export declare function addSectionItem(sectionIndex: number, itemIndex: number, item: DashboardItemDefinition, autoResolveDateFilterDataset?: boolean, correlationId?: string): AddSectionItems;
|sectionIndex||number||index of section to which the new item should be added|
|itemIndex||number||index at which to insert the new item|
|item||DashboardItemDefinition||definition of the new item.|
|autoResolveDateFilterDataset||boolean||(Optional) specify whether dashboard should auto-resolve date dataset to use for date filtering of KPI and insight widgets; default is disabled meaning date filtering will be enabled only for those KPI or Insight widgets that already specify dateDataset.|
|correlationId||string||(Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing|
Dispatching this command will result in addition of a new item into the existing section. This item may be a placeholder for KPI or insight, an actual dashboard widget or a previously stashed dashboard item.