Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

ImagePlayground

All examples are included with download of MBS FileMaker Plugin.

ImagePlayground.fmp12

Overview
Tables 1
Relationships 0
Layouts 1
Scripts 3
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 On
Require iOS passcode Off
Show Sign-in fields On
Switch to layout Off
Hide all toolbars Off
Script triggers
OnFirstWindowOpen Script: Check Available
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
ImagePlayground
7 fields defined, 1 record
ImagePlayground

Fields

Table Name: ImagePlayground - 7 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
PrimaryKey Normal, Text Auto-Enter: Validation:
  • Only during data entry
  • Not empty
  • Unique
  • Strict validation
Storage:
  • Repetitions: 1
  • Indexing: Minimal
  • Automatically create indexes as needed
  • Index Language: Unicode Raw
Unique identifier of each record in this table
          CreationTimestamp Normal, Timestamp Auto-Enter:
          • Creation timestamp
          Validation:
          • Only during data entry
          • Strict data type: 4 digit year
          • Not empty
          • Strict validation
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: English
          Date and time each record was created
                  CreatedBy Normal, Text Auto-Enter:
                  • Creation account name
                  Validation:
                  • Only during data entry
                  • Not empty
                  • Strict validation
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: English
                  Account name of the user who created each record
                          ModificationTimestamp Normal, Timestamp Auto-Enter:
                          • Modification timestamp
                          Validation:
                          • Only during data entry
                          • Strict data type: 4 digit year
                          • Not empty
                          • Strict validation
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: English
                          Date and time each record was last modified
                                  ModifiedBy Normal, Text Auto-Enter:
                                  • Modification account name
                                  Validation:
                                  • Only during data entry
                                  • Not empty
                                  • Strict validation
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: English
                                  Account name of the user who last modified each record
                                          Image Normal, Binary Auto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                              Concept Normal, Text Auto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Global
                                              • Repetitions: 1
                                              • Index Language: English

                                                  Layout Objects: ImagePlayground

                                                  Regular Fields

                                                  Field Name: ImagePlayground::Image
                                                  Field Properties Coordinates Field Format Field Behavior Quick Find
                                                  • Top: 114 pt
                                                  • Left: 138 pt
                                                  • Bottom: 699 pt
                                                  • Right: 874 pt
                                                  • Anchoring: Left and Right, Top and Bottom
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: Default for Data Type
                                                  • Go to next field using: Tab key
                                                  No

                                                  Field Name: ImagePlayground::Concept
                                                  Field Properties Coordinates Field Format Field Behavior Quick Find
                                                  • Top: 703 pt
                                                  • Left: 138 pt
                                                  • Bottom: 734 pt
                                                  • Right: 874 pt
                                                  • Anchoring: Left and Right, Bottom
                                                  Field Format:
                                                  • Edit Box
                                                  Field Behavior:
                                                  • Allow field to be entered: In Find mode, In Browse mode
                                                  • Touch keyboard type: Default for Data Type
                                                  • Go to next field using: Tab key
                                                  No

                                                  Buttons

                                                  Button Properties Coordinates Script/Script Step
                                                    Type:
                                                  • Text: Show Image Playground
                                                    Additional Properties:
                                                  • Change to hand cursor over button
                                                  • Top: 36 pt
                                                  • Left: 682 pt
                                                  • Bottom: 82 pt
                                                  • Right: 846 pt
                                                  • Anchoring: Left, Top
                                                  Perform Script [ “Show” ]

                                                  Scripts:


                                                  Script Hierarchy

                                                  Show
                                                  ImageTrigger
                                                  Check Available

                                                  Next Script: [ImageTrigger]
                                                  Script Name Show
                                                  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: [Show] Next Script: [Check Available]
                                                            Script Name ImageTrigger
                                                            Run script with full access privileges Off
                                                            Siri Shortcut Visible Off
                                                            Include In Menu No
                                                            Layouts that use this script
                                                              Scripts that use this script
                                                                Script Definition
                                                                Script Steps
                                                                • Set Variable [ $param; Value:Get(ScriptParameter) ]
                                                                • #Check whether we got something
                                                                • If [ $param = "Created" ]
                                                                • #we make a new record if needed
                                                                • If [ not IsEmpty ( ImagePlayground::Image ) ]
                                                                • New Record/Request
                                                                • End If
                                                                • #and save image
                                                                • Set Variable [ $image; Value:MBS("ImagePlayground.Image") ]
                                                                • Set Field [ ImagePlayground::Image; $image ]
                                                                • Commit Records/Requests [ No dialog ]
                                                                • End If
                                                                • #cleanup memory
                                                                • Set Variable [ $r; Value:MBS("ImagePlayground.Release") ]
                                                                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: [ImageTrigger]
                                                                        Script Name Check Available
                                                                        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
                                                                            • Set Variable [ $t; Value:MBS("ImagePlayground.Available") ]
                                                                            • If [ $t = "Available" ]
                                                                            • Show Custom Dialog [ Title: "Image Playground Status"; Message: "The playground is available"; Default Button: “OK”, Commit: “Yes” ]
                                                                            • Else If [ $t = "NotAvailable" ]
                                                                            • Show Custom Dialog [ Title: "Image Playground Status"; Message: "The playground is not available"; Default Button: “OK”, Commit: “Yes” ]
                                                                            • Else If [ $t = "OldOS" ]
                                                                            • Show Custom Dialog [ Title: "Image Playground Status"; Message: "Your macOS or iOS version is too old."; Default Button: “OK”, Commit: “Yes” ]
                                                                            • Else [ ]
                                                                            • Show Custom Dialog [ Title: "Image Playground Status"; Message: $t; Default Button: “OK”, Commit: “Yes” ]
                                                                            • End If
                                                                            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: ImagePlayground

                                                                                          Used functions: