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

# NSFieldInfoMdoList

> MDO List custom database field.

MDO List custom database field.

## Constructors

### NSFieldInfoMdoList()

```crmscript theme={null}
NSFieldInfoMdoList
```

Initializes a new instance of the NSFieldInfoMdoList class.

## Methods

## GetDefaultValue()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - Default list item Id.

**Example:**

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

## GetMdoListName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - MDO list name used to populate this list. (Read-only).

**Example:**

```crmscript theme={null}
NSFieldInfoMdoList thing;
String mdoListName = thing.GetMdoListName();
```

## SetDefaultValue(Integer)

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

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

**Example:**

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

## SetMdoListName(String)

```crmscript theme={null}
Void SetMdoListName(String mdoListName)
```

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

**Example:**

```crmscript theme={null}
NSFieldInfoMdoList thing;
String mdoListName;
thing.SetMdoListName(mdoListName);
```


## Related topics

- [SuperOffice.WebApi.Data.FieldInfoMdoList](/en/api/reference/webapi/SuperOffice.WebApi.Data.FieldInfoMdoList.md)
- [Get Custom Field Info List](/en/api/reference/restful/rest/fieldinfobase/get-custom-field-info-list.md)
