MBS FileMaker Plugin Example Databases

JavaScript Evaluate

All examples are included with download of MBS FileMaker Plugin.

JavaScript Evaluate.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists0
Custom Functions0
Custom Menus0
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
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
JavaScript Evaluate
4 fields defined, 5 records
JavaScript Evaluate

Fields

Table Name: JavaScript Evaluate - 4 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
JavaScriptNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      ResultNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          URLNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Global
          • Repetitions: 1
          • Index Language: German
                CommentNormal, TextAuto-Enter:
                • Allow editing
                Validation:
                • Only during data entry
                Storage:
                • Repetitions: 1
                • Indexing: None
                • Automatically create indexes as needed
                • Index Language: German

                      Layout Objects: JavaScript Evaluate

                      Regular Fields

                      Field Name: JavaScript Evaluate::JavaScript
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 52 pt
                      • Left: 138 pt
                      • Bottom: 95 pt
                      • Right: 906 pt
                      • Anchoring: Left and Right, 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: JavaScript Evaluate::Result
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 102 pt
                      • Left: 138 pt
                      • Bottom: 123 pt
                      • Right: 906 pt
                      • Anchoring: Left and Right, 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: JavaScript Evaluate::URL
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 15 pt
                      • Left: 138 pt
                      • Bottom: 36 pt
                      • Right: 906 pt
                      • Anchoring: Left and Right, 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: JavaScript Evaluate::Comment
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 130 pt
                      • Left: 139 pt
                      • Bottom: 151 pt
                      • Right: 906 pt
                      • Anchoring: Left and Right, 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

                      Buttons

                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Evaluate
                      • Top: 54 pt
                      • Left: 911 pt
                      • Bottom: 95 pt
                      • Right: 1017 pt
                      • Anchoring: Right, Top
                      Perform Script [ “Evaluate” ]

                      Scripts:


                      Web Viewer Controls

                      Web Viewer Control PropertiesCoordinatesWeb Address
                        Object Name:
                      • web
                        Additional Properties:
                      • Allow interaction with web viewer content
                      • Display progress bar
                      • Display status messages
                      • Automatically encode URL
                      • Top: 155 pt
                      • Left: 9 pt
                      • Bottom: 548 pt
                      • Right: 1017 pt
                      • Anchoring: Left, Top
                      JavaScript Evaluate::URL

                      Script Hierarchy

                      Evaluate
                      Clear

                      Next Script: [Clear]
                      Script NameEvaluate
                      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 [ JavaScript Evaluate::Result; MBS("WebView.Evaluate"; "web"; JavaScript Evaluate::JavaScript) ]
                        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: [Evaluate]
                                Script NameClear
                                Run script with full access privilegesOff
                                Include In MenuYes
                                Layouts that use this script
                                  Scripts that use this script
                                    Script Definition
                                    Script Steps
                                    • Show All Records
                                    • Replace Field Contents [ JavaScript Evaluate::Result; Replace with calculation: "" ] [ No dialog ]
                                    • Commit Records/Requests [ No dialog ]
                                    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: JavaScript Evaluate

                                            Used functions:




                                            Links
                                            MBS Xojo Chart Plugins