MBS FileMaker Plugin Example Databases

psiGateway

All examples are included with download of MBS FileMaker Plugin.

psiGateway.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts1
Value Lists0
Custom Functions0
Custom Menus31
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
psiGateway
0 fields defined, 1 record
psiGateway

Layout Objects: psiGateway

Group Buttons

Button PropertiesCoordinatesScript/Script Step
    Type:
  • Text: Login
    Additional Properties:
  • Change to hand cursor over button
  • Rectangular
  • Top: 1 pt
  • Left: 270 pt
  • Bottom: 26 pt
  • Right: 385 pt
  • Anchoring: Left, Top
Perform Script [ “Login” ]

Scripts:


Web Viewer Controls

Web Viewer Control PropertiesCoordinatesWeb Address
    Object Name:
  • myBrowser
    Additional Properties:
  • Automatically encode URL
  • Top: 29 pt
  • Left: 0 pt
  • Bottom: 468 pt
  • Right: 697 pt
  • Anchoring: Left and Right, Top and Bottom
"https://dev.psigate.com./"

Script Hierarchy

Login

Script NameLogin
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 [ $nothing; Value:Let( [ WebViewerName = "myBrowser"; WindowRef = MBS( "WebView.FindWindowByTitle" ; Get(WindowName) ); WebViewerID = MBS("WebView.FindByName"; WindowRef; WebViewerName); javascript = " document.Login.CID.value='1000001'; document.Login.UserID.value='teststore'; document.Login.Password.value='testpass'; document.Login.submit.click(); " ]; MBS("WebView.RunJavaScript"; WebViewerID; 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

                  Download example: psiGateway

                  Used functions:




                  Links
                  MBS Xojo blog