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
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 16.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: OFW
OnLastWindowClose Off
OnWindowOpen Off
OnWindowClose Off
OnFileAVPlayerChange Off
OnWindowTransaction Off
Thumbnail Settings
Generate Thumbnails On; Temporary

 

Tables

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

Fields

Table Name: MBS_Plugin_Install - 8 Fields
Field Name Type Options Comments On Layouts In Relationships In Scripts In Value Lists
Container_MAC Normal, Binary Auto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
      Container_WIN_32 Normal, Binary Auto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
          Container_WIN_64 Normal, Binary Auto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
              Licensee Name Normal, Text Auto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: Spanish
                  Component Normal, Text Auto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: Spanish
                      License Type Normal, Text Auto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: Spanish
                          Expire Month Normal, Text Auto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: Spanish
                              Serial number Normal, Text Auto-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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Field Format Field Behavior Quick 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 Properties Coordinates Script/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 Properties Coordinates
                                    Orientation:
                                  • horizontal
                                  • Top: 652 pt
                                  • Left: 136 pt
                                  • Bottom: 720 pt
                                  • Right: 617 pt
                                  • Anchoring: Center, Bottom
                                  Button Segments
                                  Button Properties Coordinates Script/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 Properties Coordinates Script/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 Name OFW
                                  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
                                      • 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 Name MBS - Install Plugin
                                                  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
                                                    • # 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(LastErrorDetail) ]
                                                    • 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 Name MBS - Register
                                                            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
                                                              • #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: