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

MBS FileMaker Plugin Example Databases

MBS Plugin Install

All examples are included with download of MBS FileMaker Plugin.

MBS Plugin Install.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts3
Value Lists0
Custom Functions0
Custom Menus24
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version16.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenScript: OFW
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
MBS_Plugin_Install
8 fields defined, 1 record
MBS_Plugin_Install

Fields

Table Name: MBS_Plugin_Install - 8 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
Container_MACNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
      Container_WIN_32Normal, BinaryAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
          Container_WIN_64Normal, BinaryAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
              Licensee NameNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: Spanish
                  ComponentNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: Spanish
                      License TypeNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: Spanish
                          Expire MonthNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: Spanish
                              Serial numberNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: Spanish

                                  Layout Objects: MBS_Plugin_Install

                                  Regular Fields

                                  Field Name: MBS_Plugin_Install::Container_MAC
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 192 pt
                                  • Left: 50 pt
                                  • Bottom: 317 pt
                                  • Right: 203 pt
                                  • Anchoring: Left, Top
                                  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: MBS_Plugin_Install::Container_WIN_32
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 192 pt
                                  • Left: 550 pt
                                  • Bottom: 317 pt
                                  • Right: 703 pt
                                  • Anchoring: Left, Top
                                  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: MBS_Plugin_Install::Container_WIN_64
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 192 pt
                                  • Left: 300 pt
                                  • Bottom: 317 pt
                                  • Right: 453 pt
                                  • Anchoring: Left, Top
                                  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: MBS_Plugin_Install::Component
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 423 pt
                                  • Left: 88 pt
                                  • Bottom: 444 pt
                                  • Right: 664 pt
                                  • Anchoring: Left, Top
                                  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
                                  Yes

                                  Field Name: MBS_Plugin_Install::License Type
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 474 pt
                                  • Left: 88 pt
                                  • Bottom: 495 pt
                                  • Right: 664 pt
                                  • Anchoring: Left, Top
                                  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
                                  Yes

                                  Field Name: MBS_Plugin_Install::Expire Month
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 525 pt
                                  • Left: 88 pt
                                  • Bottom: 546 pt
                                  • Right: 664 pt
                                  • Anchoring: Left, Top
                                  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
                                  Yes

                                  Field Name: MBS_Plugin_Install::Serial number
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 576 pt
                                  • Left: 88 pt
                                  • Bottom: 597 pt
                                  • Right: 664 pt
                                  • Anchoring: Left, Top
                                  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
                                  Yes

                                  Field Name: MBS_Plugin_Install::Licensee Name
                                  Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                  • Top: 372 pt
                                  • Left: 88 pt
                                  • Bottom: 393 pt
                                  • Right: 664 pt
                                  • Anchoring: Left, Top
                                  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
                                  Yes

                                  Group Buttons

                                  Button PropertiesCoordinatesScript/Script Step
                                    Type:
                                  • Text: Developed by dbFile Desarrollos
                                    Additional Properties:
                                  • Rectangular
                                  • Top: 754 pt
                                  • Left: 87 pt
                                  • Bottom: 775 pt
                                  • Right: 667 pt
                                  • Anchoring: Center, Bottom
                                  Open URL [ "www.dbfile.es" ]

                                  Button Bars

                                  Button Bar PropertiesCoordinates
                                    Orientation:
                                  • horizontal
                                  • Top: 652 pt
                                  • Left: 136 pt
                                  • Bottom: 720 pt
                                  • Right: 617 pt
                                  • Anchoring: Center, Bottom
                                  Button Segments
                                  Button PropertiesCoordinatesScript/Script Step
                                    Type:
                                  • Text:
                                    Label Calculations:
                                  • "Install PlugIn"
                                  • Top: 653 pt
                                  • Left: 137 pt
                                  • Bottom: 719 pt
                                  • Right: 377 pt
                                  Perform Script [ “MBS - Install Plugin” ]

                                  Scripts:

                                  Button PropertiesCoordinatesScript/Script Step
                                    Type:
                                  • Text:
                                    Label Calculations:
                                  • "Register PlugIn"
                                  • Top: 653 pt
                                  • Left: 377 pt
                                  • Bottom: 719 pt
                                  • Right: 616 pt
                                  Perform Script [ “MBS - Register” ]

                                  Scripts:


                                  Script Hierarchy

                                  OFW
                                  MBS - Install Plugin
                                  MBS - Register

                                  Next Script: [MBS - Install Plugin]
                                  Script NameOFW
                                  Run script with full access privilegesOff
                                  Include In MenuNo
                                  Layouts that use this script
                                    Scripts that use this script
                                      Script Definition
                                      Script Steps
                                      • Go to Layout [ “MBS_Plugin_Install” ]
                                      • Show/Hide Menubar [ Hide ]
                                      • Show/Hide Toolbars [ Hide ]
                                      • Show/Hide Text Ruler [ Hide ]
                                      • Adjust Window [ Resize to Fit ]
                                      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: [OFW]Next Script: [MBS - Register]
                                                  Script NameMBS - Install Plugin
                                                  Run script with full access privilegesOff
                                                  Include In MenuNo
                                                  Layouts that use this script
                                                  Scripts that use this script
                                                    Script Definition
                                                    Script Steps
                                                    • # Check architecture
                                                    • Set Variable [ $Arch; Value:Get ( ApplicationArchitecture ) ]
                                                    • # Check platform
                                                    • Set Variable [ $Plat; Value:Get ( SystemPlatform ) ]
                                                    • If [ $Plat = 1 ]
                                                    • # MAC
                                                    • Install Plug-In File [ MBS_Plugin_Install::Container_MAC ]
                                                    • Else If [ $Plat = 3 ]
                                                    • # IOS
                                                    • Exit Script [ ]
                                                    • Else If [ $Plat = 2 ]
                                                    • # WIN
                                                    • If [ $Arch = "x86_64" ]
                                                    • Install Plug-In File [ MBS_Plugin_Install::Container_WIN_64 ]
                                                    • Else
                                                    • Install Plug-In File [ MBS_Plugin_Install::Container_WIN_32 ]
                                                    • End If
                                                    • Else
                                                    • Exit Script [ ]
                                                    • End If
                                                    • Set Variable [ $LastError; Value:Get ( LastError ) ]
                                                    • Set Variable [ $LastErrorMessage; Value:Get(LastExternalErrorDetail) ]
                                                    • If [ Get (LastError) = 0 ]
                                                    • Show Custom Dialog [ Title: "Success"; Message: "Installed MBS Plugin: " & MBS("Version"); Default Button: “Aceptar”, Commit: “Yes” ]
                                                    • Else
                                                    • Show Custom Dialog [ Title: "Failed"; Message: "Failed to install plugin due to error " & $LastError & ¶ & $LastErrorMessage; Default Button: “Aceptar”, 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

                                                            Previous Script: [MBS - Install Plugin]
                                                            Script NameMBS - Register
                                                            Run script with full access privilegesOff
                                                            Include In MenuNo
                                                            Layouts that use this script
                                                            Scripts that use this script
                                                              Script Definition
                                                              Script Steps
                                                              • #Register MBS Plugin
                                                              • If [ MBS("IsRegistered") ]
                                                              • Show Custom Dialog [ Title: "Already registered"; Message: MBS("Plugin.LicenseeName"); Default Button: “OK”, Commit: “Yes” ]
                                                              • Exit Script [ ]
                                                              • End If
                                                              • #Register -> until FileMaker quits
                                                              • #StoreRegistraiton -> writes it to preferences file
                                                              • Set Variable [ $r; Value:MBS("StoreRegistration"; MBS_Plugin_Install::Licensee Name; MBS_Plugin_Install::Component; MBS_Plugin_Install::License Type; MBS_Plugin_Install::Expire Month; MBS_Plugin_Install::Serial number) ]
                                                              • // Set Variable [ $r; Value:MBS("Register"; MBS_Plugin_Install::Licensee Name; MBS_Plugin_Install::Component; MBS_Plugin_Install::License Type; MBS_Plugin_Install::Expire Month; MBS_Plugin_Install::Serial number) ]
                                                              • If [ $r ≠ "OK" ]
                                                              • Show Custom Dialog [ Title: "Problem with MBS Plugin Registration"; Message: $r; Default Button: “OK”, Commit: “Yes” ]
                                                              • Exit Script [ ]
                                                              • 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: MBS Plugin Install

                                                                      Used functions: