MBS FileMaker Plugin Example Databases

Post on Facebook

All examples are included with download of MBS FileMaker Plugin.

Post on Facebook.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts0
Value Lists0
Custom Functions0
Custom Menus32
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
Test
3 fields defined, 2 records
Test

Fields

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

                    Layout Objects: Test

                    Regular Fields

                    Field Name: Test::LoginName
                    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: Test::LoginPassword
                    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

                    Field Name: Test::Message
                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                    • Top: 24 pt
                    • Left: 462 pt
                    • Bottom: 38 pt
                    • Right: 715 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

                    Group Buttons

                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Set Login Name
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 114 pt
                    • Left: 6 pt
                    • Bottom: 139 pt
                    • Right: 103 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Title: "Login Name set"; Message: MBS( "WebView.SetFormInputValue" ; "web"; "login_form"; "email"; Test::LoginName ); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Set Login Password
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 114 pt
                    • Left: 107 pt
                    • Bottom: 139 pt
                    • Right: 224 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Title: "Login Password set"; Message: MBS( "WebView.SetFormInputValue" ; "web"; "login_form"; "pass"; Test::LoginPassword); Default Button: “OK”, Commit: “Yes” ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Submit
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 114 pt
                    • Left: 233 pt
                    • Bottom: 139 pt
                    • Right: 290 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Title: "Submitted"; Message: MBS( "WebView.FormSubmit" ; "web"; "login_form" ); Default Button: “OK”, Commit: “Yes” ]

                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Go to Newsfeed
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 114 pt
                    • Left: 402 pt
                    • Bottom: 139 pt
                    • Right: 499 pt
                    • Anchoring: Left, Top
                    Set Web Viewer [ Object Name: "web"; URL: "http://www.facebook.com/?sk=nf" ]

                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Set Message
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 114 pt
                    • Left: 504 pt
                    • Bottom: 139 pt
                    • Right: 601 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Message: MBS( "WebView.RunJavaScript" ; "web"; " try { document.getElementsByName('xhpc_message')[0].value='" & Test::Message & "'; document.getElementsByName('xhpc_message_text')[0].value='" & Test::Message & "'; }  catch (e) { } "); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                    Fields:


                    Button PropertiesCoordinatesScript/Script Step
                      Type:
                    • Text: Send Message
                      Additional Properties:
                    • Change to hand cursor over button
                    • Rectangular
                    • Top: 114 pt
                    • Left: 606 pt
                    • Bottom: 139 pt
                    • Right: 703 pt
                    • Anchoring: Left, Top
                    Show Custom Dialog [ Message: MBS( "WebView.RunJavaScript" ; "web"; "document.getElementsByName('xhpc_message')[0].form.submit();"); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]

                    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: 150 pt
                    • Left: 6 pt
                    • Bottom: 757 pt
                    • Right: 973 pt
                    • Anchoring: Left, Top
                    "http://www.facebook.com/"

                    Download example: Post on Facebook

                    Used functions:




                    Links
                    MBS Xojo PDF Plugins