Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

iOS ImagePicker

All examples are included with download of MBS FileMaker Plugin.

iOS ImagePicker.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
Value Lists1
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
ImagePicker
1 field defined, 0 record
ImagePicker

Fields

Table Name: ImagePicker - 1 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PictureNormal, BinaryAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1

      Layout Objects: ImagePicker

      Regular Fields

      Field Name: ImagePicker::Picture
      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
      • Top: 60 pt
      • Left: 10 pt
      • Bottom: 485 pt
      • Right: 314 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: 548 pt
      • Left: 6 pt
      • Bottom: 644 pt
      • Right: 314 pt
      • Anchoring: Left and Right, Top
        No

        Buttons

        Button PropertiesCoordinatesScript/Script Step
          Type:
        • Text: Photo Library
        • Top: 11 pt
        • Left: 10 pt
        • Bottom: 41 pt
        • Right: 106 pt
        • Anchoring: Left, Top
        Perform Script [ “Pick”; Parameter: "PhotoLibrary" ]

        Scripts:


        Button PropertiesCoordinatesScript/Script Step
          Type:
        • Text: Add to camera roll
        • Top: 499 pt
        • Left: 10 pt
        • Bottom: 529 pt
        • Right: 126 pt
        • Anchoring: Left, Bottom
        Perform Script [ “AddToCameraRoll” ]

        Scripts:


        Button PropertiesCoordinatesScript/Script Step
          Type:
        • Text: Saved Photos
        • Top: 11 pt
        • Left: 114 pt
        • Bottom: 41 pt
        • Right: 210 pt
        • Anchoring: Left, Top
        Perform Script [ “Pick”; Parameter: "SavedPhotosAlbum" ]

        Scripts:


        Button PropertiesCoordinatesScript/Script Step
          Type:
        • Text: Camera
        • Top: 11 pt
        • Left: 218 pt
        • Bottom: 41 pt
        • Right: 315 pt
        • Anchoring: Left, Top
        Perform Script [ “Pick”; Parameter: "Camera" ]

        Scripts:


        Value Lists

        Value List NameSourceValuesOn Layouts
        ServicesCustom
        • Facebook, Twitter, SinaWeibo, TencentWeibo

          Script Hierarchy

          Pick
          GotImage
          AddToCameraRoll
          AddedToCameraRoll

          Next Script: [GotImage]
          Script NamePick
          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: [Pick]Next Script: [AddToCameraRoll]
                          Script NameGotImage
                          Run script with full access privilegesOff
                          Include In MenuNo
                          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: [GotImage]Next Script: [AddedToCameraRoll]
                                      Script NameAddToCameraRoll
                                      Run script with full access privilegesOff
                                      Include In MenuYes
                                      Layouts that use this script
                                      Scripts that use this script
                                        Script Definition
                                        Script Steps
                                        • If [ IsEmpty ( ImagePicker::Picture ) ]
                                        • Show Custom Dialog [ Message: "No image?"; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                        • Else
                                        • Set Variable [ $path; Value:MBS( "ImagePicker.WriteImageToSavedPhotosAlbum"; ImagePicker::Picture; Get(FileName); "AddedToCameraRoll" ) ]
                                        • 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

                                                Previous Script: [AddToCameraRoll]
                                                Script NameAddedToCameraRoll
                                                Run script with full access privilegesOff
                                                Include In MenuNo
                                                Layouts that use this script
                                                  Scripts that use this script
                                                    Script Definition
                                                    Script Steps
                                                    • Show Custom Dialog [ Title: "Image Export done."; Message: Get(ScriptParameter); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                    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: iOS ImagePicker

                                                                  Used functions: