MBS FileMaker Plugin Example Databases

InstallUserMediaAccess

All examples are included with download of MBS FileMaker Plugin.

InstallUserMediaAccess.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
OnFirstWindowOpenScript: Install
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
test
5 fields defined, 1 record
test

Fields

Table Name: test - 5 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PrimärschlüsselNormal, TextAuto-Enter:
  • Context table: test
    Calculation: Get( UUID )
Validation:
  • Only during data entry
  • Not empty
  • Unique
  • Strict validation
Storage:
  • Repetitions: 1
  • Indexing: Minimal
  • Automatically create indexes as needed
  • Index Language: Unicode Raw
Eindeutige ID für jeden Datensatz in dieser Tabelle
          ErstellungszeitstempelNormal, TimestampAuto-Enter:
          • Creation timestamp
          Validation:
          • Only during data entry
          • Strict data type: 4 digit year
          • Not empty
          • Strict validation
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
          Datum und Uhrzeit der Erstellung der einzelnen Datensätze
                  ErstelltVonNormal, TextAuto-Enter:
                  • Creation account name
                  Validation:
                  • Only during data entry
                  • Not empty
                  • Strict validation
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                  Kontoname des Benutzers, der die einzelnen Datensätze erstellt hat
                          ÄnderungszeitstempelNormal, TimestampAuto-Enter:
                          • Modification timestamp
                          Validation:
                          • Only during data entry
                          • Strict data type: 4 digit year
                          • Not empty
                          • Strict validation
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                          Datum und Uhrzeit der letzten Änderung der einzelnen Datensätze
                                  GeändertVonNormal, TextAuto-Enter:
                                  • Modification account name
                                  Validation:
                                  • Only during data entry
                                  • Not empty
                                  • Strict validation
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                  Kontoname des Benutzers, der die einzelnen Datensätze zuletzt geändert hat

                                          Layout Objects: test

                                          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: 54 pt
                                          • Left: 12 pt
                                          • Bottom: 746 pt
                                          • Right: 1011 pt
                                          • Anchoring: Left, Top
                                          "about:blank"

                                          Script Hierarchy

                                          Install
                                          Load Test Website

                                          Next Script: [Load Test Website]
                                          Script NameInstall
                                          Run script with full access privilegesOff
                                          Include In MenuYes
                                          Layouts that use this script
                                            Scripts that use this script
                                              Script Definition
                                              Script Steps
                                              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: [Install]
                                                            Script NameLoad Test Website
                                                            Run script with full access privilegesOff
                                                            Include In MenuYes
                                                            Layouts that use this script
                                                              Scripts that use this script
                                                                Script Definition
                                                                Script Steps
                                                                • #Make sure it's installed
                                                                • Set Variable [ $r; Value:MBS("WebView.InstallUserMediaAccess"; 1+2+4) ]
                                                                • #make sure you have a web viewer with about:blank as URL
                                                                • #enable via preferences
                                                                • Set Variable [ $r; Value:MBS( "WebView.SetPreferences"; "web"; "mediaStreamEnabled"; 1 ) ]
                                                                • Set Variable [ $r; Value:MBS( "WebView.SetPreferences"; "web"; "mediaDevicesEnabled"; 1 ) ]
                                                                • #load some website
                                                                • Set Web Viewer [ Object Name: "web"; URL: "https://test.webrtc.org" ]
                                                                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: InstallUserMediaAccess

                                                                              Used functions:




                                                                              Links
                                                                              MBS Xojo tutorial videos