Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
FM.LayoutIDForLayoutName
Queries the ID for layout with given name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FM | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "FM.LayoutIDForLayoutName"; LayoutName { ; FileName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
LayoutName | The name of the layout. | "Test" | |
FileName | The name of the file to look inside. If empty, we default to current file. |
Optional |
Result
Returns number or error.
Description
Queries the ID for layout with given name.Examples
Query ID for contacts layout:
MBS( "FM.LayoutIDForLayoutName"; "Contacts" )
Release notes
- Version 10.2
- Added FM.CurrentLayoutID, FM.CurrentLayoutName, FM.LayoutIDForLayoutName, FM.LayoutNameForLayoutID and FM.LayoutNames matching similar functions for scripts.
Blog Entries
This function is free to use.
Created 8th April 2020, last changed 8th April 2020