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

MBS FileMaker Plugin Example Databases

Server

All examples are included with download of MBS FileMaker Plugin.

Server.fmp12

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

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Server
2 fields defined, 1 record
Server
TestTable
2 fields defined, 4 records
TestTable

Fields

Table Name: Server - 2 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
resultNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      ScriptCounterNormal, NumberAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Global
      • Repetitions: 1
      • Index Language: German

          Table Name: TestTable - 2 Fields
          Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
          NameNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
                AgeNormal, TextAuto-Enter:
                • Allow editing
                Validation:
                • Only during data entry
                Storage:
                • Repetitions: 1
                • Indexing: None
                • Automatically create indexes as needed
                • Index Language: German

                      Layout Objects: Server

                      Regular Fields

                      Field Name: Server::result
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 72 pt
                      • Left: 144 pt
                      • Bottom: 86 pt
                      • Right: 397 pt
                      • Anchoring: Left, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      No

                      Field Name: Server::ScriptCounter
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 96 pt
                      • Left: 138 pt
                      • Bottom: 110 pt
                      • Right: 217 pt
                      • Anchoring: Left, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      No

                      Group Buttons

                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Start Server
                        Additional Properties:
                      • Change to hand cursor over button
                      • Rectangular
                      • Top: 36 pt
                      • Left: 312 pt
                      • Bottom: 61 pt
                      • Right: 439 pt
                      • Anchoring: Left, Top
                      Perform Script [ “StartServer” ]

                      Scripts:


                      Layout Objects: TestTable

                      Regular Fields

                      Field Name: TestTable::Name
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 24 pt
                      • Left: 138 pt
                      • Bottom: 38 pt
                      • Right: 391 pt
                      • Anchoring: Left, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Field Name: TestTable::Age
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 42 pt
                      • Left: 138 pt
                      • Bottom: 56 pt
                      • Right: 391 pt
                      • Anchoring: Left, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Script Hierarchy

                      StartServer
                      StopServer
                      TestScript
                      ClearAtStartup

                      Next Script: [StopServer]
                      Script NameStartServer
                      Run script with full access privilegesOff
                      Include In MenuYes
                      Layouts that use this script
                      Scripts that use this script
                        Script Definition
                        Script Steps
                        • Set Variable [ $r; Value:MBS("ServerSocket.Start"; 9000; "secret") ]
                        • Set Field [ Server::result; $r ]
                        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: [StartServer]Next Script: [TestScript]
                                Script NameStopServer
                                Run script with full access privilegesOff
                                Include In MenuYes
                                Layouts that use this script
                                  Scripts that use this script
                                    Script Definition
                                    Script Steps
                                    • Set Variable [ $r; Value:MBS("ServerSocket.Stop") ]
                                    • Set Field [ Server::result; $r ]
                                    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: [StopServer]Next Script: [ClearAtStartup]
                                            Script NameTestScript
                                            Run script with full access privilegesOff
                                            Include In MenuYes
                                            Layouts that use this script
                                              Scripts that use this script
                                                Script Definition
                                                Script Steps
                                                • Set Field [ Server::ScriptCounter; Server::ScriptCounter+1 ]
                                                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: [TestScript]
                                                        Script NameClearAtStartup
                                                        Run script with full access privilegesOff
                                                        Include In MenuNo
                                                        Layouts that use this script
                                                          Scripts that use this script
                                                            Script Definition
                                                            Script Steps
                                                            • Set Field [ Server::result; "" ]
                                                            • Set Field [ Server::ScriptCounter; 0 ]
                                                            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: Server

                                                                    Used functions: