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

# NSFieldInfoAttachment

> Attachment custom database field.

Attachment custom database field.

## Constructors

### NSFieldInfoAttachment()

```crmscript theme={null}
NSFieldInfoAttachment
```

Initializes a new instance of the NSFieldInfoAttachment class.

## Methods

## GetDefaultValue()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Default attachment ID value.

**Example:**

```crmscript theme={null}
NSFieldInfoAttachment thing;
Integer defaultValue = thing.GetDefaultValue();
```

## SetDefaultValue(Integer)

```crmscript theme={null}
Void SetDefaultValue(Integer defaultValue)
```

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

**Example:**

```crmscript theme={null}
NSFieldInfoAttachment thing;
Integer defaultValue;
thing.SetDefaultValue(defaultValue);
```
