| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
MBS FileMaker Plugin Example Databases
JSON Insert and Update
All examples are included with download of MBS FileMaker Plugin.
| Overview | |
| Tables | 2 |
| Relationships | 1 |
| Layouts | 2 |
| Scripts | 8 |
| Value Lists | 0 |
| Custom Functions | 1 |
| 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 | On |
| Require iOS passcode | Off |
| Show Sign-in fields | On |
| Switch to layout | Off |
| Hide all toolbars | Off |
| Script triggers | |
| OnFirstWindowOpen | Off |
| OnLastWindowClose | Off |
| OnWindowOpen | Off |
| OnWindowClose | Off |
| OnFileAVPlayerChange | Off |
| OnWindowTransaction | Off |
| Thumbnail Settings | |
| Generate Thumbnails | On; Temporary |
| Table Name | Statistics |
Occurrences in Relationship Graph |
| Table | 11 fields defined, 1 record |
Table |
| Data | 10 fields defined, 0 record |
Data |
| Table Name: Table - 11 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 | |||||
| JSON Insert | Normal, Text |
Auto-Enter:
|
||||||
| JSON Update | Normal, Text |
Auto-Enter:
|
||||||
| JSON InsertOrUpdate | Normal, Text |
Auto-Enter:
|
||||||
| JSON Delete | Normal, Text |
Auto-Enter:
|
||||||
| JSON Update PrimaryKeys | Normal, Text |
Auto-Enter:
|
||||||
| JSON InsertORUpdate PrimaryKeys | Normal, Text |
Auto-Enter:
|
||||||
| Table Name: Data - 10 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 | |||||
| FirstName | Normal, Text |
Auto-Enter:
|
||||||
| LastName | Normal, Text |
Auto-Enter:
|
||||||
| Birthday | Normal, Date |
Auto-Enter:
|
||||||
| Donation | Normal, Number |
Auto-Enter:
|
||||||
| Status | Normal, Text |
Auto-Enter:
|
||||||
Layout Objects: Table
| Field Name: Table::JSON Insert | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Table::JSON Update | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Table::JSON InsertOrUpdate | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Table::JSON Delete | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::FirstName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::LastName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::Birthday | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::Donation | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::Status | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Table::JSON Update PrimaryKeys | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Table::JSON InsertORUpdate PrimaryKeys | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Button Properties | Coordinates | Script/Script Step | ||||
|
|
Perform Script [ “JSON Insert” ] Scripts: |
||||
| Button Properties | Coordinates | Script/Script Step | ||||
|
|
Perform Script [ “JSON Update” ] Scripts: |
||||
| Button Properties | Coordinates | Script/Script Step | ||||
|
|
Perform Script [ “JSON Insert or Update” ] Scripts: |
||||
| Button Properties | Coordinates | Script/Script Step | ||||
|
|
Perform Script [ “JSON Delete” ] Scripts: |
||||
| Portal Properties | Coordinates | Fields | Options | ||
|
|
Field Objects
|
|
||
Layout Objects: Data
| Field Name: Data::FirstName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::LastName | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::Birthday | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::Donation | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| Field Name: Data::Status | |||||
| Field Properties | Coordinates | Field Format | Field Behavior | Quick Find | |
|
|
Field Format:
|
Field Behavior:
|
Yes | |
| JSON Insert |
| JSON Update |
| JSON Updates |
| JSON Insert or Update |
| JSON Delete |
| JSON Deletes |
| CSV Insert |
| Set Variables with JSON |
| Next Script: [JSON Update] |
| Script Name | JSON Insert |
| 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: [JSON Insert] | Next Script: [JSON Updates] |
| Script Name | JSON Update |
| 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: [JSON Update] | Next Script: [JSON Insert or Update] |
| Script Name | JSON Updates |
| 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: [JSON Updates] | Next Script: [JSON Delete] |
| Script Name | JSON Insert or Update |
| 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: [JSON Insert or Update] | Next Script: [JSON Deletes] |
| Script Name | JSON Delete |
| 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: [JSON Delete] | Next Script: [CSV Insert] |
| Script Name | JSON Deletes |
| 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: [JSON Deletes] | Next Script: [Set Variables with JSON] |
| Script Name | CSV Insert |
| 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: [CSV Insert] |
| Script Name | Set Variables with JSON |
| 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 | |
| Function Name | Parameters | Availability | Definition | In Field Definitions | In Scripts |
| cfFormatJSON | InputJSON | All accounts | Let ( [ jsonFormatted = MBS("JSON.Format"; InputJSON); jsonFormatFailed = MBS("IsError"); jsonText = If(jsonFormatFailed; InputJSON; jsonFormatted); result = MBS("JSON.Colorize"; jsonText) ]; result ) |
| Menu Sets | Menus | In Scripts | In Layouts | Comments |
| [Standard FileMaker Menus] |
|
Download example: JSON Insert and Update
Used functions: