| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
MBS FileMaker Plugin Example Databases
JavaScript
All examples are included with download of MBS FileMaker Plugin.
| Overview | |
| Tables | 1 |
| Relationships | 0 |
| Layouts | 1 |
| Scripts | 12 |
| Value Lists | 0 |
| Custom Functions | 0 |
| Custom Menus | 24 |
| File Options | |
| Default custom menu set | [Standard FileMaker Menus] |
| Default theme | Apex Blue |
| When opening file | |
| Minimum allowed version | 12.0 |
| Login using | Account Name; Account= Admin |
| Allow user to save password | Off |
| Require iOS passcode | Off |
| Show Sign-in fields | Off |
| Switch to layout | Off |
| Hide all toolbars | Off |
| Script triggers | |
| OnFirstWindowOpen | Script: Start Script |
| OnLastWindowClose | Script: End Script |
| OnWindowOpen | Off |
| OnWindowClose | Off |
| OnFileAVPlayerChange | Off |
| OnWindowTransaction | Off |
| Thumbnail Settings | |
| Generate Thumbnails | On; Temporary |
| Table Name | Statistics |
Comments |
Occurrences in Relationship Graph |
| JavaScript | 8 fields defined, 16 records |
JavaScript |
| Table Name: JavaScript - 8 Fields | ||||||||
| Field Name | Type | Options | Comments | On Layouts | In Relationships | In Scripts | In Value Lists | |
| PrimaryKey | Normal, Text |
Auto-Enter:
|
Unique identifier of each record in this table | |||||
| CreationTimestamp | Normal, Timestamp |
Auto-Enter:
|
Date and time each record was created | |||||
| CreatedBy | Normal, Text |
Auto-Enter:
|
Account name of the user who created each record | |||||
| ModificationTimestamp | Normal, Timestamp |
Auto-Enter:
|
Date and time each record was last modified | |||||
| ModifiedBy | Normal, Text |
Auto-Enter:
|
Account name of the user who last modified each record | |||||
| JavaScript | Normal, Text |
Auto-Enter:
|
||||||
| Output | Normal, Text |
Auto-Enter:
|
||||||
| Comment | Normal, Text |
Auto-Enter:
|
||||||
Layout Objects: JavaScript
| Field Name: JavaScript::JavaScript | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: JavaScript::Output | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: JavaScript::Comment | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Button Properties | Coordinates | Script/Script Step | ||||
|
|
Perform Script [ “Run JavaScript” ] Scripts: |
||||
| test1 |
| test2 |
| test3 |
| test4 |
| test5 |
| test6 |
| testRun |
| test7 |
| - |
| Run JavaScript |
| Start Script |
| End Script |
| Next Script: [test2] |
| Script Name | test1 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test1] | Next Script: [test3] |
| Script Name | test2 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test2] | Next Script: [test4] |
| Script Name | test3 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test3] | Next Script: [test5] |
| Script Name | test4 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test4] | Next Script: [test6] |
| Script Name | test5 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test5] | Next Script: [testRun] |
| Script Name | test6 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test6] | Next Script: [test7] |
| Script Name | testRun |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [testRun] | Next Script: [-] |
| Script Name | test7 |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [test7] | Next Script: [Run JavaScript] |
| Script Name | - |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps | |
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [-] | Next Script: [Start Script] |
| Script Name | Run JavaScript |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [Run JavaScript] | Next Script: [End Script] |
| Script Name | Start Script |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
| Previous Script: [Start Script] |
| Script Name | End Script |
| Run script with full access privileges | Off |
| Siri Shortcut Visible | Off |
| Include In Menu | Yes |
| Layouts that use this script | |
| Scripts that use this script | |
| Script Definition | |
| Script Steps |
|
| Fields used in this script | |
| Scripts used in this script | |
| Layouts used in this script | |
| Tables used in this script | |
| Table occurrences used by this script | |
| Custom Functions used by this script | |
| Custom menu set used by this script | |
Download example: JavaScript
Used functions: