Class NSDashAgent
Carrier object for managing various dashboard operations.
Syntax
Constructors
NSDashAgent()
Initializes a new instance of the NSDashAgent class.
Declaration
Methods
AddNewTileToDashboard(Integer, NSDashTileDefinition)
Adds a new tile to the specified dashboard.
Declaration
NSDashTile AddNewTileToDashboard(Integer dashboardId, NSDashTileDefinition tileDefinition)
Parameters
Returns
AddTileToDashboard(Integer, Integer)
Adds an existing tile to a specified dashboard.
Declaration
NSDashTile AddTileToDashboard(Integer dashboardId, Integer tileId)
Parameters
Returns
CopyTileSelection(Integer)
Copies the specified tile selection.
Declaration
Integer CopyTileSelection(Integer selectionId)
Parameters
Type |
Name |
Description |
Integer |
selectionId |
|
Returns
CreateDashTileSelectionFromEntity(String)
Creates a dash tile selection based on the specified entity.
Declaration
Integer CreateDashTileSelectionFromEntity(String entity)
Parameters
Type |
Name |
Description |
String |
entity |
|
Returns
CreateDefaultDash
Generates a default dashboard.
Declaration
NSDash CreateDefaultDash()
Returns
CreateDefaultDashCollection
Generates a default collection of dashboards.
Declaration
NSDashCollection CreateDefaultDashCollection()
Returns
CreateDefaultDashTheme
Creates a default theme for dashboards.
Declaration
NSDashTheme CreateDefaultDashTheme()
Returns
CreateDefaultDashTile
Generates a default tile for dashboards.
Declaration
NSDashTile CreateDefaultDashTile()
Returns
CreateDefaultDashTileDefinition
Creates a default definition for a dashboard tile.
Declaration
NSDashTileDefinition CreateDefaultDashTileDefinition()
Returns
CreateDefaultPreviewDash
Generates a default preview dashboard.
Declaration
NSPreviewDash CreateDefaultPreviewDash()
Returns
CreateDefaultPreviewDashTile
Creates a default tile for preview dashboards.
Declaration
NSPreviewDashTile CreateDefaultPreviewDashTile()
Returns
CreateDefaultTileForEntity(String)
Creates a default tile for the specified entity.
Declaration
NSDashTile CreateDefaultTileForEntity(String entity)
Parameters
Type |
Name |
Description |
String |
entity |
|
Returns
DeleteDash(Integer)
Deletes a specified dashboard.
Declaration
Void DeleteDash(Integer dashId)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
Returns
DeleteDashTheme(Integer)
Deletes the specified dashboard theme.
Declaration
Void DeleteDashTheme(Integer themeId)
Parameters
Type |
Name |
Description |
Integer |
themeId |
|
Returns
DeleteDashTile(Integer)
Deletes a specified dashboard tile.
Declaration
Void DeleteDashTile(Integer tileId)
Parameters
Type |
Name |
Description |
Integer |
tileId |
|
Returns
DeleteDashTileDefinition(Integer)
Deletes the specified tile definition.
Declaration
Void DeleteDashTileDefinition(Integer tileDefinitionId)
Parameters
Type |
Name |
Description |
Integer |
tileDefinitionId |
|
Returns
DuplicateDashboard(Integer, String)
Creates a copy of the specified dashboard with a new name.
Declaration
NSDash DuplicateDashboard(Integer dashId, String newName)
Parameters
Returns
DuplicateTile(Integer, String)
Duplicates a tile with a new name.
Declaration
NSDashTile DuplicateTile(Integer tileId, String newName)
Parameters
Returns
GetDash(Integer)
Retrieves a specific dashboard by ID.
Declaration
NSDash GetDash(Integer dashId)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
Returns
GetDashCollection
Retrieves the current collection of dashboards.
Declaration
NSDashCollection GetDashCollection()
Returns
GetDashList(Integer[])
Retrieves a list of dashboards based on an array of IDs.
Declaration
NSDash[] GetDashList(Integer[] dashIds)
Parameters
Type |
Name |
Description |
Integer[] |
dashIds |
|
Returns
Type |
Description |
NSDash[] |
|
GetDashTheme(Integer)
Retrieves a specific dashboard theme by ID.
Declaration
NSDashTheme GetDashTheme(Integer themeId)
Parameters
Type |
Name |
Description |
Integer |
themeId |
|
Returns
GetDashTile(Integer)
Retrieves a specific tile from a dashboard by ID.
Declaration
NSDashTile GetDashTile(Integer tileId)
Parameters
Type |
Name |
Description |
Integer |
tileId |
|
Returns
GetDashTileDefinition(Integer)
Retrieves a tile definition by ID.
Declaration
NSDashTileDefinition GetDashTileDefinition(Integer tileDefinitionId)
Parameters
Type |
Name |
Description |
Integer |
tileDefinitionId |
|
Returns
GetDashTileHtml(Integer, String)
Retrieves the HTML content for a specific dashboard tile.
Declaration
NSDashTileHtml GetDashTileHtml(Integer tileId, String context)
Parameters
Returns
GetDashTileHtmlList(Integer)
Retrieves a list of HTML content for all tiles in a dashboard.
Declaration
NSDashTileHtml[] GetDashTileHtmlList(Integer dashId)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
Returns
Type |
Description |
NSDashTileHtml[] |
|
GetDashTiles(Integer)
Retrieves all tiles in the specified dashboard.
Declaration
NSDashTile[] GetDashTiles(Integer dashId)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
Returns
Type |
Description |
NSDashTile[] |
|
GetPreviewDash(Integer)
Retrieves a preview version of a specific dashboard.
Declaration
NSPreviewDash GetPreviewDash(Integer dashId)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
Returns
GetSecondaryTempTileSelection(Integer)
Retrieves the secondary temporary tile selection by ID.
Declaration
Integer GetSecondaryTempTileSelection(Integer selectionId)
Parameters
Type |
Name |
Description |
Integer |
selectionId |
|
Returns
GetTempTileSelection(Integer)
Retrieves the temporary tile selection by ID.
Declaration
Integer GetTempTileSelection(Integer selectionId)
Parameters
Type |
Name |
Description |
Integer |
selectionId |
|
Returns
SaveDash(NSDash)
Saves the specified dashboard with given data.
Declaration
NSDash SaveDash(NSDash dashData)
Parameters
Type |
Name |
Description |
NSDash |
dashData |
|
Returns
SaveDashTheme(NSDashTheme)
Saves the specified dashboard theme.
Declaration
NSDashTheme SaveDashTheme(NSDashTheme theme)
Parameters
Returns
SaveDashTile(NSDashTile)
Saves the specified dashboard tile.
Declaration
NSDashTile SaveDashTile(NSDashTile tile)
Parameters
Returns
SaveDashTileDefinition(NSDashTileDefinition)
Saves the specified dashboard tile definition.
Declaration
NSDashTileDefinition SaveDashTileDefinition(NSDashTileDefinition tileDefinition)
Parameters
Returns
SaveDashTileHtmlList(Integer, NSDashTileHtml[])
Saves a list of HTML content for dashboard tiles.
Declaration
NSDashTileHtml[] SaveDashTileHtmlList(Integer dashId, NSDashTileHtml[] tileHtmlList)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
NSDashTileHtml[] |
tileHtmlList |
|
Returns
Type |
Description |
NSDashTileHtml[] |
|
SaveDashTiles(Integer, NSDashTile[])
Saves multiple tiles for the specified dashboard.
Declaration
Void SaveDashTiles(Integer dashId, NSDashTile[] tiles)
Parameters
Type |
Name |
Description |
Integer |
dashId |
|
NSDashTile[] |
tiles |
|
Returns