Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Queries the ID for layout with given name.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FM 10.2 Yes Yes Yes Yes Yes
MBS( "FM.LayoutIDForLayoutName"; LayoutName { ; FileName } )   More


Parameter Description Example value
LayoutName The name of the layout. "Test"
FileName Optional
The name of the file to look inside.
If empty, we default to current file.


Returns number or error.


Queries the ID for layout with given name.


Query ID for contacts layout:

MBS( "FM.LayoutIDForLayoutName"; "Contacts" )

Blog Entries

Release notes

Created 8th April 2020, last changed 8th April 2020

FM.IsMainThread   -   FM.LayoutNameForLayoutID

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos