MBS FileMaker Plugin Example Databases

DocumentPicker iOS

All examples are included with download of MBS FileMaker Plugin.

DocumentPicker iOS.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts3
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
PlaceHolder
2 fields defined, 1 record
PlaceHolder

Fields

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

          Layout Objects: PlaceHolder

          Regular Fields

          Field Name: PlaceHolder::Paths
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 78 pt
          • Left: 5 pt
          • Bottom: 137 pt
          • Right: 311 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: PlaceHolder::Container
          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
          • Top: 184 pt
          • Left: 5 pt
          • Bottom: 523 pt
          • Right: 311 pt
          • Anchoring: Left and Right, Top and Bottom
          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

          Merge Fields

          Field PropertiesCoordinatesFieldsQuick Find
            Text:
          • Installed Plug-ins
          • Top: 540 pt
          • Left: 6 pt
          • Bottom: 633 pt
          • Right: 314 pt
          • Anchoring: Left and Right, Top
            No

            Buttons

            Button PropertiesCoordinatesScript/Script Step
              Type:
            • Text: Import File
            • Top: 144 pt
            • Left: 29 pt
            • Bottom: 177 pt
            • Right: 165 pt
            • Anchoring: Right, Top
            Perform Script [ “Import” ]

            Scripts:


            Button PropertiesCoordinatesScript/Script Step
              Type:
            • Text: Open File
            • Top: 144 pt
            • Left: 175 pt
            • Bottom: 177 pt
            • Right: 311 pt
            • Anchoring: Right, Top
            Perform Script [ “Open” ]

            Scripts:


            Script Hierarchy

            Import
            Open
            Trigger

            Next Script: [Open]
            Script NameImport
            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: [Import]Next Script: [Trigger]
                            Script NameOpen
                            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: [Open]
                                            Script NameTrigger
                                            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 [ PlaceHolder::Paths; MBS( "DocumentPicker.Files" ) ]
                                                • Set Variable [ $path; Value:GetValue(PlaceHolder::Paths; 1) ]
                                                • If [ Length ( $path ) > 0 ]
                                                • Set Field [ PlaceHolder::Container; MBS( "Container.ReadFile"; $path; "auto") ]
                                                • Else
                                                • Set Field [ PlaceHolder::Container; "" ]
                                                • End If
                                                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: DocumentPicker iOS

                                                        Used functions:




                                                        Links
                                                        MBS FileMaker blog