TouchBar.SetCustomizationIdentifier
-----------------------------------

Sets the customization identifier.

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

MBS( "TouchBar.SetCustomizationIdentifier"; TouchBarRef; Identifier ) 

**MBS**( **"TouchBar.SetCustomizationIdentifier";** /\* Sets the customization identifier. \*/  
**$TouchBarRef**; /\* The reference number for the touch bar.e.g. $TouchBar \*/   
**$Identifier**) /\* The identifier you want to use.e.g. "test" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| TouchBarRef | The reference number for the touch bar. | $TouchBar |
| Identifier | The identifier you want to use. | "test" |

### Result

Returns OK or error.

### Description

Sets the customization identifier.  
A string uniquely identifying this bar for customization purposes. All bars with this identifier will have their items coordinated automatically during customization or instantiation.  
Touch bars lacking a customizationIdentifier are not customizable.  
### See also

- [TouchBar.GetCustomizationIdentifier](TouchBarGetCustomizationIdentifier.md)

This function checks for a license.

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

  
[TouchBar.SetCustomizationAllowedItemIdentifiers](TouchBarSetCustomizationAllowedItemIdentifiers.md) - [TouchBar.SetCustomizationRequiredItemIdentifiers](TouchBarSetCustomizationRequiredItemIdentifiers.md)

[HTML Version](TouchBarSetCustomizationIdentifier.shtml)