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

MBS FileMaker Plugin Example Databases

Solution Registration Creator

All examples are included with download of MBS FileMaker Plugin.

Solution Registration Creator.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts2
Value Lists1
Custom Functions0
Custom Menus33
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
Solution Registration Creator
9 fields defined, 1 record
Solution Registration Creator

Fields

Table Name: Solution Registration Creator - 9 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
SaltNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      PrivateKeyNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Global
      • Repetitions: 1
      • Index Language: German
          PublicKeyNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Global
          • Repetitions: 1
          • Index Language: German
              Curve IDNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Global
              • Repetitions: 1
              • Index Language: German
                  ProductNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  • Value list: Products
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      LicenseeNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          EndDateNormal, TimestampAuto-Enter:
                          • Allow editing
                          • Do not replace existing value for field (if any)
                          • Context table: Solution Registration Creator
                            Calculation: Get ( CurrentHostTimestamp ) + 86400 * 365 /* one year */
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              KeyNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  InfoNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German

                                      Layout Objects: Solution Registration Creator

                                      Regular Fields

                                      Field Name: Solution Registration Creator::PrivateKey
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 12 pt
                                      • Left: 138 pt
                                      • Bottom: 26 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
                                      No

                                      Field Name: Solution Registration Creator::PublicKey
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 30 pt
                                      • Left: 138 pt
                                      • Bottom: 44 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
                                      No

                                      Field Name: Solution Registration Creator::Curve ID
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 48 pt
                                      • Left: 138 pt
                                      • Bottom: 62 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
                                      No

                                      Field Name: Solution Registration Creator::Product
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 120 pt
                                      • Left: 138 pt
                                      • Bottom: 134 pt
                                      • Right: 391 pt
                                      • Anchoring: Left, Top
                                      Field Format:
                                      • Pop-up Menu
                                      • Display values from: Products
                                      • Include "Other..." item to allow entry of other values
                                      • Include "Edit..." item to allow editing of value list
                                      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: Solution Registration Creator::Licensee
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 138 pt
                                      • Left: 138 pt
                                      • Bottom: 152 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: Solution Registration Creator::EndDate
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 156 pt
                                      • Left: 138 pt
                                      • Bottom: 170 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: Solution Registration Creator::Key
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 240 pt
                                      • Left: 138 pt
                                      • Bottom: 374 pt
                                      • Right: 505 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: Solution Registration Creator::Salt
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 66 pt
                                      • Left: 138 pt
                                      • Bottom: 80 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
                                      No

                                      Field Name: Solution Registration Creator::Info
                                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                      • Top: 174 pt
                                      • Left: 138 pt
                                      • Bottom: 188 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

                                      Group Buttons

                                      Button PropertiesCoordinatesScript/Script Step
                                        Type:
                                      • Text: Generate Key
                                        Additional Properties:
                                      • Change to hand cursor over button
                                      • Rectangular
                                      • Top: 204 pt
                                      • Left: 414 pt
                                      • Bottom: 229 pt
                                      • Right: 541 pt
                                      • Anchoring: Left, Top
                                      Perform Script [ “Sign” ]

                                      Scripts:


                                      Value Lists

                                      Value List NameSourceValuesOn Layouts
                                      ProductsCustom
                                      • Test Product, My Great Solution

                                      Script Hierarchy

                                      GenerateKeys
                                      Sign

                                      Next Script: [Sign]
                                      Script NameGenerateKeys
                                      Run script with full access privilegesOff
                                      Include In MenuYes
                                      Layouts that use this script
                                        Scripts that use this script
                                          Script Definition
                                          Script Steps
                                          • Set Variable [ $key; Value:MBS("ECKey.Generate";Solution Registration Creator::Curve ID) ]
                                          • Set Field [ Solution Registration Creator::PrivateKey; MBS("ECKey.PrivateKey"; $key) ]
                                          • Set Field [ Solution Registration Creator::PublicKey; MBS("ECKey.PublicKey"; $key) ]
                                          • Set Variable [ $r; Value:MBS("ECKey.Release"; $key) ]
                                          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: [GenerateKeys]
                                                  Script NameSign
                                                  Run script with full access privilegesOff
                                                  Include In MenuYes
                                                  Layouts that use this script
                                                  Scripts that use this script
                                                    Script Definition
                                                    Script Steps
                                                    • Set Variable [ $key; Value:MBS("ECKey.ReadPrivateKey"; Solution Registration Creator::PrivateKey) ]
                                                    • If [ MBS("IsError") ]
                                                    • Show Custom Dialog [ Message: "Failed to read key."; Default Button: “OK”, Commit: “No”; Button 2: “Cancel”, Commit: “No” ]
                                                    • Exit Script [ ]
                                                    • End If
                                                    • If [ (Position ( Solution Registration Creator::Salt ; ¶ ; 1 ; 1 ) > 0) or (Position ( Solution Registration Creator::Licensee ; ¶ ; 1 ; 1 ) > 0) or (Position ( Solution Registration Creator::EndDate ; ¶ ; 1 ; 1 ) > 0) or (Position ( Solution Registration Creator::Info ; ¶ ; 1 ; 1 ) > 0) ]
                                                    • Show Custom Dialog [ Message: "Text should not contain newline characters!"; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                                    • Exit Script [ ]
                                                    • End If
                                                    • Set Variable [ $hashText; Value:Solution Registration Creator::Salt & ¶ & Solution Registration Creator::Licensee & ¶ & GetAsText(Solution Registration Creator::EndDate) & ¶ & GetAsNumber(Solution Registration Creator::EndDate) & ¶ & Solution Registration Creator::Product & ¶ & Solution Registration Creator::Info & ¶ ]
                                                    • Set Variable [ $hash; Value:MBS("Hash.SHA512"; $hashText) ]
                                                    • Set Variable [ $signature; Value:MBS("ECKey.Sign"; $key; $hash) ]
                                                    • Set Variable [ $result; Value:Solution Registration Creator::Licensee & ¶ & GetAsText(Solution Registration Creator::EndDate) & ¶ & GetAsNumber(Solution Registration Creator::EndDate) & ¶ & Solution Registration Creator::Product & ¶ & Solution Registration Creator::Info & ¶ & $signature & ¶ ]
                                                    • Set Field [ Solution Registration Creator::Key; $result ]
                                                    • Set Variable [ $r; Value:MBS("ECKey.Release"; $key) ]
                                                    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: Solution Registration Creator

                                                            Used functions: