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

# NSFieldInfoDynamicLink

> Dynamic Link custom database field.

Dynamic Link custom database field.

## Constructors

### NSFieldInfoDynamicLink()

```crmscript theme={null}
NSFieldInfoDynamicLink
```

Initializes a new instance of the NSFieldInfoDynamicLink class.

## Methods

## GetDefaultValue()

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

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

## GetLinkName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Display text for link.

**Example:**

```crmscript theme={null}
NSFieldInfoDynamicLink thing;
String linkName = thing.GetLinkName();
```

## GetLinkValue()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - URL link value. May contain CS tags to be replaced.

**Example:**

```crmscript theme={null}
NSFieldInfoDynamicLink thing;
String linkValue = thing.GetLinkValue();
```

## SetDefaultValue(Integer)

Default attachment ID value

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

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

## SetLinkName(String)

```crmscript theme={null}
Void SetLinkName(String linkName)
```

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

**Example:**

```crmscript theme={null}
NSFieldInfoDynamicLink thing;
String linkName;
thing.SetLinkName(linkName);
```

## SetLinkValue(String)

```crmscript theme={null}
Void SetLinkValue(String linkValue)
```

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

**Example:**

```crmscript theme={null}
NSFieldInfoDynamicLink thing;
String linkValue;
thing.SetLinkValue(linkValue);
```


## Related topics

- [SuperOffice.WebApi.Data.FieldInfoDynamicLink](/en/api/reference/webapi/SuperOffice.WebApi.Data.FieldInfoDynamicLink.md)
- [ExtraFieldsInfo](/en/automation/crmscript/reference/CRMScript.Native.ExtraFieldsInfo.md)
- [SuperOffice.WebApi.Data.FieldInfoBase](/en/api/reference/webapi/SuperOffice.WebApi.Data.FieldInfoBase.md)
- [Dynamic selections](/en/api/search/selection/dynamic-selections.md)
- [Get Custom Field Info](/en/api/reference/restful/rest/fieldinfobase/get-custom-field-info.md)
