TouchBar.SetCustomizationRequiredItemIdentifiers
------------------------------------------------

Sets the required identifiers.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TouchBar](component_TouchBar.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "TouchBar.SetCustomizationRequiredItemIdentifiers"; TouchBarRef; List ) 

**MBS**( **"TouchBar.SetCustomizationRequiredItemIdentifiers";** /\* Sets the required identifiers. \*/  
**$TouchBarRef**; /\* The reference number for the touch bar.e.g. $TouchBar \*/   
**$List**) /\* The list of items. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TouchBarRef | The reference number for the touch bar. | $TouchBar |
| List | The list of items. |  |

### Result

Returns OK or error.

### Description

Sets the required identifiers.  
Some items are too important to be removed. The corresponding item identifiers should be listed here. During customization the user will be prevented from removing these items from the touch bar.  
### See also

- [TouchBar.GetCustomizationAllowedItemIdentifiers](TouchBarGetCustomizationAllowedItemIdentifiers.md)
- [TouchBar.GetCustomizationRequiredItemIdentifiers](TouchBarGetCustomizationRequiredItemIdentifiers.md)
- [TouchBar.SetCustomizationAllowedItemIdentifiers](TouchBarSetCustomizationAllowedItemIdentifiers.md)

This function checks for a license.

Created 1st November 2016 , last changed 1st November 2016

  
[TouchBar.SetCustomizationIdentifier](TouchBarSetCustomizationIdentifier.md) - [TouchBar.SetDefaultItemIdentifiers](TouchBarSetDefaultItemIdentifiers.md)

[HTML Version](TouchBarSetCustomizationRequiredItemIdentifiers.shtml)