Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the principal item identifier.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
TouchBar 6.5 Yes No No No No

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


Parameter Description Example value
TouchBarRef The reference number for the touch bar. $TouchBar
Identifier The identifier for the main command. "Anaylze"


Returns OK or error.


Sets the principal item identifier.
Specifying a principal item identifier communicates that the item with that identifier has special significance to this touch bar. Currently, that item will be placed in the center of the resolved touch row. Note that multiple visible bars may each specify a principal item identifier - but only one of them can have the request honored.


Set main item:

Set Variable [$r; Value:MBS( "TouchBar.SetPrincipalItemIdentifier"; $t; "NextRecord" )]

See also

Example Databases

TouchBar.SetDefaultItemIdentifiers   -   TouchBar.ToggleCustomizationPalette

Feedback: Report problem or ask question.

MBS FileMaker Plugins