> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSPreviewsAgent

> Gets preview strings from a hint.

Gets preview strings from a hint.

## Constructors

### NSPreviewsAgent()

```crmscript theme={null}
NSPreviewsAgent
```

## Methods

## GetPreview(String)

Parses a Preview hint and return a Preview\.The returned Preview string may contain resource string identifiers (in square brackets), to be processed by the resource manager.

The Preview hint is either a literal text, representing itself or a set of key/value pairs enclosed in curly braces. Each key is separated from its value by an equals sign, and each pair from the next by an ampersand, according to usual conventions.

```crmscript theme={null}
String GetPreview(String previewHint)
```

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

<Note>
  A typical Preview hint could be \<code>`{contact_id=123}`\</code> or \<code>`{appointment_id=222&mode=simple}`\</code>
</Note>
