MBS FileMaker Plugin Example Databases

Markup

All examples are included with download of MBS FileMaker Plugin.

Markup.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
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Markup
1 field defined, 1 record
Markup

Fields

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

      Layout Objects: Markup

      Regular Fields

      Field Name: Markup::Container
      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
      • Top: 57 pt
      • Left: 7 pt
      • Bottom: 525 pt
      • Right: 383 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

      Buttons

      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Preview or Edit Document
      • Top: 537 pt
      • Left: 8 pt
      • Bottom: 569 pt
      • Right: 169 pt
      • Anchoring: Left, Top and Bottom
      Perform Script [ “Show Preview” ]

      Scripts:


      Button PropertiesCoordinatesScript/Script Step
        Type:
      • Text: Import a File
      • Top: 536 pt
      • Left: 222 pt
      • Bottom: 568 pt
      • Right: 383 pt
      • Anchoring: Right, Top and Bottom
      Insert File [ Markup::Container ] [ Storage method: Let user choose ] [ Display content ] [ Compression: Never compress ]

      Fields:


      Script Hierarchy

      Show Preview
      Dismissed

      Next Script: [Dismissed]
      Script NameShow Preview
      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: [Show Preview]
                Script NameDismissed
                Run script with full access privilegesOff
                Include In MenuNo
                Layouts that use this script
                  Scripts that use this script
                    Script Definition
                    Script Steps
                    • #Lets see if we made changes
                    • Set Variable [ $list; Value:MBS("QLPreviewPanel.SavedFiles") ]
                    • Set Variable [ $count; Value:ValueCount($list) ]
                    • If [ $count > 0 ]
                    • #a document was saved
                    • Set Variable [ $path; Value:GetValue($list; 1) ]
                    • #read file
                    • Set Variable [ $file; Value:MBS( "Container.ReadFile"; $path; "auto"; $$filename) ]
                    • If [ MBS("IsError") = 0 ]
                    • Set Field [ Markup::Container; $file ]
                    • Else
                    • Show Custom Dialog [ Title: "Failed to read file"; Message: $file; Default Button: “OK”, Commit: “Yes” ]
                    • End If
                    • End If
                    • #Cleanup files
                    • Set Variable [ $r; Value:MBS("QLPreviewPanel.Clear") ]
                    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: Markup

                            Used functions:




                            Links
                            MBS Xojo Chart Plugins

                            Start Chat