> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSDashTile

> Represents a tile in a dashboard configuration.

Represents a tile in a dashboard configuration.

## Constructors

### NSDashTile()

```crmscript theme={null}
NSDashTile
```

Initializes a new instance of the NSDashTile class.

## Methods

## GetDashboardId()

Gets the ID of the associated dashboard.

```crmscript theme={null}
Integer GetDashboardId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetDashboardTileId()

Gets the primary key ID of the dashboard tile.

```crmscript theme={null}
Integer GetDashboardTileId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetDashTileDefinition()

Gets the tile definition entity.

```crmscript theme={null}
NSDashTileDefinition GetDashTileDefinition()
```

**Returns:** [CRMScript.NetServer.NSDashTileDefinition](CRMScript.NetServer.NSDashTileDefinition)

## GetHeight()

Gets the height of the tile in the dashboard.

```crmscript theme={null}
Integer GetHeight()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetRank()

Gets the rank order of the tile.

```crmscript theme={null}
Integer GetRank()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## GetWidth()

Gets the width of the tile in the dashboard.

```crmscript theme={null}
Integer GetWidth()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer)

## SetDashboardId(Integer)

Sets the ID of the associated dashboard.

```crmscript theme={null}
Void SetDashboardId(Integer dashboardId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetDashboardTileId(Integer)

Sets the primary key ID of the dashboard tile.

```crmscript theme={null}
Void SetDashboardTileId(Integer tileId)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetDashTileDefinition(NSDashTileDefinition)

Sets the tile definition entity.

```crmscript theme={null}
Void SetDashTileDefinition(NSDashTileDefinition definition)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetHeight(Integer)

Sets the height of the tile in the dashboard.

```crmscript theme={null}
Void SetHeight(Integer height)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetRank(Integer)

Sets the rank order of the tile.

```crmscript theme={null}
Void SetRank(Integer rank)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

## SetWidth(Integer)

Sets the width of the tile in the dashboard.

```crmscript theme={null}
Void SetWidth(Integer width)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)


## Related topics

- [NSDashAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSDashAgent.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [NSDashTileHtml](/en/automation/crmscript/reference/CRMScript.NetServer.NSDashTileHtml.md)
- [NSDashTileDefinition](/en/automation/crmscript/reference/CRMScript.NetServer.NSDashTileDefinition.md)
- [Save Dash Tiles](/en/api/reference/restful/agent/dash_agent/save-dash-tiles.md)
- [Get Dash Tile](/en/api/reference/restful/rest/dashtile/get-dash-tile.md)
