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

# NSSelectableMDOListItem

## Constructors

### NSSelectableMDOListItem()

```crmscript theme={null}
NSSelectableMDOListItem
```

Initializes a new instance of the NSSelectableMDOListItem class.

## Methods

## GetChildItems()

```crmscript theme={null}
NSSelectableMDOListItem[] GetChildItems()
```

**Returns:** [CRMScript.NetServer.NSSelectableMDOListItem](CRMScript.NetServer.NSSelectableMDOListItem)\[] - The child items of the NSSelectableMDOListItem.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
NSSelectableMDOListItem[] childItems = thing.GetChildItems();
```

## GetColorBlock()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The color indicator of the ListItem color block.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Integer colorBlock = thing.GetColorBlock();
```

## GetDeleted()

```crmscript theme={null}
Bool GetDeleted()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - The deleted status of the ListItem.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Bool deleted = thing.GetDeleted();
```

## GetExtraInfo()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Extra information added to the ListItem. Could be information such as sort order etc or other meta data. Custom field.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String extraInfo = thing.GetExtraInfo();
```

## GetFullName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the ListItem in its context.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String fullName = thing.GetFullName();
```

## GetHidden()

```crmscript theme={null}
Bool GetHidden()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - True if the ListItem is hidden.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Bool hidden = thing.GetHidden();
```

## GetIconHint()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The Icon hint of the ListItem. Custom field.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String iconHint = thing.GetIconHint();
```

## GetId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The ID of the ListItem.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Integer id = thing.GetId();
```

## GetLastChanged()

```crmscript theme={null}
DateTime GetLastChanged()
```

**Returns:** [CRMScript.Global.DateTime](CRMScript.Global.DateTime) - Time of last change.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
DateTime lastChanged = thing.GetLastChanged();
```

## GetName()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the ListItem.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String name = thing.GetName();
```

## GetRank()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - The rank of the ListItem.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Integer rank = thing.GetRank();
```

## GetSelected()

```crmscript theme={null}
Bool GetSelected()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - True if the ListItem is selected.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Bool selected = thing.GetSelected();
```

## GetStyleHint()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Style hint indicating, information such as background color etc. Custom field.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String styleHint = thing.GetStyleHint();
```

## GetToolTip()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The tooltip of the ListItem.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String toolTip = thing.GetToolTip();
```

## GetType()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The type of the ListItem. Custom field.

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String type = thing.GetType();
```

## SetChildItems(NSSelectableMDOListItem\[])

```crmscript theme={null}
Void SetChildItems(NSSelectableMDOListItem[] childItems)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
NSSelectableMDOListItem[] childItems;
thing.SetChildItems(childItems);
```

## SetColorBlock(Integer)

```crmscript theme={null}
Void SetColorBlock(Integer colorBlock)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Integer colorBlock;
thing.SetColorBlock(colorBlock);
```

## SetDeleted(Bool)

```crmscript theme={null}
Void SetDeleted(Bool deleted)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Bool deleted;
thing.SetDeleted(deleted);
```

## SetExtraInfo(String)

```crmscript theme={null}
Void SetExtraInfo(String extraInfo)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String extraInfo;
thing.SetExtraInfo(extraInfo);
```

## SetFullName(String)

```crmscript theme={null}
Void SetFullName(String fullName)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String fullName;
thing.SetFullName(fullName);
```

## SetHidden(Bool)

```crmscript theme={null}
Void SetHidden(Bool hidden)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Bool hidden;
thing.SetHidden(hidden);
```

## SetIconHint(String)

```crmscript theme={null}
Void SetIconHint(String iconHint)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String iconHint;
thing.SetIconHint(iconHint);
```

## SetId(Integer)

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

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Integer id;
thing.SetId(id);
```

## SetLastChanged(DateTime)

```crmscript theme={null}
Void SetLastChanged(DateTime lastChanged)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
DateTime lastChanged;
thing.SetLastChanged(lastChanged);
```

## SetName(String)

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

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String name;
thing.SetName(name);
```

## SetRank(Integer)

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

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Integer rank;
thing.SetRank(rank);
```

## SetSelected(Bool)

```crmscript theme={null}
Void SetSelected(Bool selected)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
Bool selected;
thing.SetSelected(selected);
```

## SetStyleHint(String)

```crmscript theme={null}
Void SetStyleHint(String styleHint)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String styleHint;
thing.SetStyleHint(styleHint);
```

## SetToolTip(String)

```crmscript theme={null}
Void SetToolTip(String toolTip)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String toolTip;
thing.SetToolTip(toolTip);
```

## SetType(String)

```crmscript theme={null}
Void SetType(String type)
```

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

**Example:**

```crmscript theme={null}
NSSelectableMDOListItem thing;
String type;
thing.SetType(type);
```


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [NSMDOAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSMDOAgent.md)
- [Set/clear interest on company](/en/automation/crmscript/howto/interests/company-interests.md)
- [Set/clear interest on contact](/en/automation/crmscript/howto/interests/contact-interests.md)
- [NSLicenseAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSLicenseAgent.md)
- [NSDiaryViewEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSDiaryViewEntity.md)
