> ## 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.

# NSPreviewDash

> Represents a preview of a dashboard.

Represents a preview of a dashboard.

## Constructors

### NSPreviewDash()

```crmscript theme={null}
NSPreviewDash
```

Initializes a new instance of the NSPreviewDash class.

## Methods

## GetDashboardId()

Gets the primary key ID of the dashboard.

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Primary key ID of the dashboard.

## SetDashboardId(Integer)

Sets the primary key ID for the dashboard.

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

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

## GetDescription()

Gets the detailed description of the dashboard.

```crmscript theme={null}
String GetDescription()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Description of the dashboard.

## SetDescription(String)

Sets a detailed description for the dashboard.

```crmscript theme={null}
Void SetDescription(String description)
```

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

## GetName()

Gets the name of the dashboard.

```crmscript theme={null}
String GetName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Name of the dashboard.

## SetName(String)

Sets the name of the dashboard.

```crmscript theme={null}
Void SetName(String name)
```

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

## GetOwnedByFullName()

Gets the full name of the dashboard owner.

```crmscript theme={null}
String GetOwnedByFullName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Full name of the dashboard owner.

## SetOwnedByFullName(String)

Sets the full name of the dashboard owner.

```crmscript theme={null}
Void SetOwnedByFullName(String ownerFullName)
```

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

## GetRegistered()

Gets the registration date of the dashboard.

```crmscript theme={null}
DateTime GetRegistered()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Date the dashboard was registered.

## SetRegistered(DateTime)

Sets the registration date for the dashboard.

```crmscript theme={null}
Void SetRegistered(DateTime registeredDate)
```

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

## GetTiles()

Gets the dashboard tiles.

```crmscript theme={null}
NSPreviewDashTile[] GetTiles()
```

**Returns:** RMScript.NetServer.NSPreviewDashTile\[] - Array of tiles in the dashboard.

## SetTiles(NSPreviewDashTile\[])

Sets the dashboard tiles.

```crmscript theme={null}
Void SetTiles(NSPreviewDashTile[] tiles)
```

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


## Related topics

- [NSDashAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSDashAgent.md)
- [NSPreviewDashTile](/en/automation/crmscript/reference/CRMScript.NetServer.NSPreviewDashTile.md)
- [Get Preview Dash](/en/api/reference/restful/agent/dash_agent/get-preview-dash.md)
- [Create Default Preview Dash](/en/api/reference/restful/agent/dash_agent/create-default-preview-dash.md)
- [Create Default Preview Dash Tile](/en/api/reference/restful/agent/dash_agent/create-default-preview-dash-tile.md)
- [SuperOffice.WebApi.Data.PreviewDash](/en/api/reference/webapi/SuperOffice.WebApi.Data.PreviewDash.md)
