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

# NSDashTheme

> Represents a dashboard theme configuration.

Represents a dashboard theme configuration.

## Constructors

### NSDashTheme()

```crmscript theme={null}
NSDashTheme
```

Initializes a new instance of the NSDashTheme class.

## Methods

## GetClient()

Gets the name of the client(s) the theme is available to.

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

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

## GetConfig()

Gets the JSON clob-formatted configuration.

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

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

## GetDashboardThemeId()

Gets the dashboard theme ID.

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

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

## GetName()

Gets the name of the dashboard theme.

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

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

## GetRank()

Gets the rank order.

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

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

## GetStyle()

Gets the style value (e.g., 'light' or 'dark').

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

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

## SetClient(String)

Sets the name of the client(s) the theme is available to.

```crmscript theme={null}
Void SetClient(String client)
```

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

## SetConfig(String)

Sets the JSON clob-formatted configuration.

```crmscript theme={null}
Void SetConfig(String config)
```

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

## SetDashboardThemeId(Integer)

Sets the dashboard theme ID.

```crmscript theme={null}
Void SetDashboardThemeId(Integer id)
```

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

## SetName(String)

Sets the name of the dashboard theme.

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

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

## SetRank(Integer)

Sets the rank order.

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

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

## SetStyle(String)

Sets the style value (e.g., 'light' or 'dark').

```crmscript theme={null}
Void SetStyle(String style)
```

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


## Related topics

- [NSDashAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSDashAgent.md)
- [NSDash](/en/automation/crmscript/reference/CRMScript.NetServer.NSDash.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [Delete Dash Theme](/en/api/reference/restful/rest/dashtheme/delete-dash-theme.md)
- [Get Dash Theme](/en/api/reference/restful/rest/dashtheme/get-dash-theme.md)
- [Post Dash Theme](/en/api/reference/restful/rest/dashtheme/post-dash-theme.md)
