MBS FileMaker Plugin Example Databases

WeatherBit.io test

All examples are included with download of MBS FileMaker Plugin.

WeatherBit.io test.fmp12

Overview
Tables2
Relationships1
Layouts2
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
WeatherBit.io test
27 fields defined, 2 records
WeatherBit.io test
Icons
2 fields defined, 64 records
Icons

Fields

Table Name: WeatherBit.io test - 27 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
API KeyNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Global
  • Repetitions: 1
  • Index Language: German
      LanguageNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          CityNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              Postal CodeNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  CountryNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      CURL DebugNormal, TextAuto-Enter:
                      • Allow editing
                      Validation:
                      • Only during data entry
                      Storage:
                      • Repetitions: 1
                      • Indexing: None
                      • Automatically create indexes as needed
                      • Index Language: German
                          CURL ResultNormal, TextAuto-Enter:
                          • Allow editing
                          Validation:
                          • Only during data entry
                          Storage:
                          • Repetitions: 1
                          • Indexing: None
                          • Automatically create indexes as needed
                          • Index Language: German
                              LatitudeNormal, NumberAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  LongitudeNormal, NumberAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      Sunrise timeNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          Sunset timeNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              Local IANA TimezoneNormal, TextAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  Last observation timeNormal, TextAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      City nameNormal, TextAuto-Enter:
                                                      • Allow editing
                                                      Validation:
                                                      • Only during data entry
                                                      Storage:
                                                      • Repetitions: 1
                                                      • Indexing: None
                                                      • Automatically create indexes as needed
                                                      • Index Language: German
                                                          Country abbreviationNormal, TextAuto-Enter:
                                                          • Allow editing
                                                          Validation:
                                                          • Only during data entry
                                                          Storage:
                                                          • Repetitions: 1
                                                          • Indexing: None
                                                          • Automatically create indexes as needed
                                                          • Index Language: German
                                                              State abbreviationNormal, TextAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  PressureNormal, NumberAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      Sea level pressureNormal, TextAuto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German
                                                                          Wind speedNormal, NumberAuto-Enter:
                                                                          • Allow editing
                                                                          Validation:
                                                                          • Only during data entry
                                                                          Storage:
                                                                          • Repetitions: 1
                                                                          • Indexing: None
                                                                          • Automatically create indexes as needed
                                                                          • Index Language: German
                                                                              Wind directionNormal, TextAuto-Enter:
                                                                              • Allow editing
                                                                              Validation:
                                                                              • Only during data entry
                                                                              Storage:
                                                                              • Repetitions: 1
                                                                              • Indexing: None
                                                                              • Automatically create indexes as needed
                                                                              • Index Language: German
                                                                                  Verbal wind directionNormal, TextAuto-Enter:
                                                                                  • Allow editing
                                                                                  Validation:
                                                                                  • Only during data entry
                                                                                  Storage:
                                                                                  • Repetitions: 1
                                                                                  • Indexing: None
                                                                                  • Automatically create indexes as needed
                                                                                  • Index Language: German
                                                                                      TemperatureNormal, NumberAuto-Enter:
                                                                                      • Allow editing
                                                                                      Validation:
                                                                                      • Only during data entry
                                                                                      Storage:
                                                                                      • Repetitions: 1
                                                                                      • Indexing: None
                                                                                      • Automatically create indexes as needed
                                                                                      • Index Language: German
                                                                                          Relative humidityNormal, NumberAuto-Enter:
                                                                                          • Allow editing
                                                                                          Validation:
                                                                                          • Only during data entry
                                                                                          Storage:
                                                                                          • Repetitions: 1
                                                                                          • Indexing: None
                                                                                          • Automatically create indexes as needed
                                                                                          • Index Language: German
                                                                                              Cloud coverageNormal, TextAuto-Enter:
                                                                                              • Allow editing
                                                                                              Validation:
                                                                                              • Only during data entry
                                                                                              Storage:
                                                                                              • Repetitions: 1
                                                                                              • Indexing: None
                                                                                              • Automatically create indexes as needed
                                                                                              • Index Language: German
                                                                                                  VisibilityNormal, TextAuto-Enter:
                                                                                                  • Allow editing
                                                                                                  Validation:
                                                                                                  • Only during data entry
                                                                                                  Storage:
                                                                                                  • Repetitions: 1
                                                                                                  • Indexing: None
                                                                                                  • Automatically create indexes as needed
                                                                                                  • Index Language: German
                                                                                                      Accumulated snowfallNormal, TextAuto-Enter:
                                                                                                      • Allow editing
                                                                                                      Validation:
                                                                                                      • Only during data entry
                                                                                                      Storage:
                                                                                                      • Repetitions: 1
                                                                                                      • Indexing: None
                                                                                                      • Automatically create indexes as needed
                                                                                                      • Index Language: German
                                                                                                          iconNormal, TextAuto-Enter:
                                                                                                          • Allow editing
                                                                                                          Validation:
                                                                                                          • Only during data entry
                                                                                                          Storage:
                                                                                                          • Repetitions: 1
                                                                                                          • Indexing: None
                                                                                                          • Automatically create indexes as needed
                                                                                                          • Index Language: German

                                                                                                              Table Name: Icons - 2 Fields
                                                                                                              Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
                                                                                                              NameNormal, TextAuto-Enter:
                                                                                                              • Allow editing
                                                                                                              Validation:
                                                                                                              • Only during data entry
                                                                                                              Storage:
                                                                                                              • Repetitions: 1
                                                                                                              • Indexing: Minimal
                                                                                                              • Automatically create indexes as needed
                                                                                                              • Index Language: German
                                                                                                                IconNormal, BinaryAuto-Enter:
                                                                                                                • Allow editing
                                                                                                                Validation:
                                                                                                                • Only during data entry
                                                                                                                Storage:
                                                                                                                • Repetitions: 1

                                                                                                                    Layout Objects: WeatherBit.io test

                                                                                                                    Regular Fields

                                                                                                                    Field Name: WeatherBit.io test::API Key
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 651 pt
                                                                                                                    • Left: 112 pt
                                                                                                                    • Bottom: 672 pt
                                                                                                                    • Right: 365 pt
                                                                                                                    • Anchoring: Left, 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
                                                                                                                    No

                                                                                                                    Field Name: WeatherBit.io test::Language
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 63 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 84 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::City
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 86 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 107 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Postal Code
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 109 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 130 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Country
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 132 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 153 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::CURL Debug
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 63 pt
                                                                                                                    • Left: 753 pt
                                                                                                                    • Bottom: 321 pt
                                                                                                                    • Right: 1006 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::CURL Result
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 325 pt
                                                                                                                    • Left: 753 pt
                                                                                                                    • Bottom: 629 pt
                                                                                                                    • Right: 1006 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Latitude
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 193 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 214 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Longitude
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 216 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 237 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Sunrise time
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 239 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 260 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Sunset time
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 262 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 283 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Local IANA Timezone
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 285 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 306 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Last observation time
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 308 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 329 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::City name
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 331 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 352 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Country abbreviation
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 354 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 375 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::State abbreviation
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 377 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 398 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Pressure
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 400 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 421 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Sea level pressure
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 423 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 444 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Wind speed
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 446 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 467 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Wind direction
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 469 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 490 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Verbal wind direction
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 492 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 513 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Temperature
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 515 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 536 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Relative humidity
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 538 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 559 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Cloud coverage
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 561 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 582 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Visibility
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 584 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 605 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: WeatherBit.io test::Accumulated snowfall
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 607 pt
                                                                                                                    • Left: 152 pt
                                                                                                                    • Bottom: 628 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, 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: Icons::Icon
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 503 pt
                                                                                                                    • Left: 489 pt
                                                                                                                    • Bottom: 628 pt
                                                                                                                    • Right: 742 pt
                                                                                                                    • Anchoring: Left, 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
                                                                                                                    No

                                                                                                                    Group Buttons

                                                                                                                    Button PropertiesCoordinatesScript/Script Step
                                                                                                                      Type:
                                                                                                                    • Text: https://www.weatherbit.io
                                                                                                                      Additional Properties:
                                                                                                                    • Rectangular
                                                                                                                    • Top: 16 pt
                                                                                                                    • Left: 833 pt
                                                                                                                    • Bottom: 35 pt
                                                                                                                    • Right: 1006 pt
                                                                                                                    • Anchoring: Left, Top
                                                                                                                    Open URL [ "https://www.weatherbit.io" ] [ No dialog ]

                                                                                                                    Buttons

                                                                                                                    Button PropertiesCoordinatesScript/Script Step
                                                                                                                      Type:
                                                                                                                    • Text: Query
                                                                                                                    • Top: 163 pt
                                                                                                                    • Left: 324 pt
                                                                                                                    • Bottom: 185 pt
                                                                                                                    • Right: 405 pt
                                                                                                                    • Anchoring: Left, Top
                                                                                                                    Perform Script [ “Query” ]

                                                                                                                    Scripts:


                                                                                                                    Layout Objects: Icons

                                                                                                                    Regular Fields

                                                                                                                    Field Name: Icons::Name
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 52 pt
                                                                                                                    • Left: 138 pt
                                                                                                                    • Bottom: 73 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: Default for Data Type
                                                                                                                    • Go to next field using: Tab key
                                                                                                                    Yes

                                                                                                                    Field Name: Icons::Icon
                                                                                                                    Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                                                                    • Top: 52 pt
                                                                                                                    • Left: 525 pt
                                                                                                                    • Bottom: 177 pt
                                                                                                                    • Right: 778 pt
                                                                                                                    • Anchoring: Left, 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
                                                                                                                    No

                                                                                                                    Script Hierarchy

                                                                                                                    Query
                                                                                                                    Parse
                                                                                                                    Import Icons

                                                                                                                    Next Script: [Parse]
                                                                                                                    Script NameQuery
                                                                                                                    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 [ $url; Value:"https://api.weatherbit.io/v2.0/current?" ]
                                                                                                                      • If [ Length ( Trim ( WeatherBit.io test::API Key ) ) = 0 ]
                                                                                                                      • Show Custom Dialog [ Title: "No API Key"; Message: "Please sign up and get an API key."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                      • Exit Script [ Result: "" ]
                                                                                                                      • End If
                                                                                                                      • Set Variable [ $url; Value:$url & "&key=" & Trim(WeatherBit.io test::API Key) ]
                                                                                                                      • If [ Length ( Trim ( WeatherBit.io test::City ) ) > 0 ]
                                                                                                                      • Set Variable [ $url; Value:$url & "&city=" & Trim(WeatherBit.io test::City) ]
                                                                                                                      • End If
                                                                                                                      • If [ Length ( Trim ( WeatherBit.io test::Language ) ) > 0 ]
                                                                                                                      • Set Variable [ $url; Value:$url & "&lang=" & Trim(WeatherBit.io test::Language) ]
                                                                                                                      • End If
                                                                                                                      • If [ Length ( Trim ( WeatherBit.io test::Postal Code ) ) > 0 ]
                                                                                                                      • Set Variable [ $url; Value:$url & "&postal_code=" & Trim(WeatherBit.io test::Postal Code) ]
                                                                                                                      • End If
                                                                                                                      • If [ Length ( Trim ( WeatherBit.io test::Country ) ) > 0 ]
                                                                                                                      • Set Variable [ $url; Value:$url & "&country=" & Trim(WeatherBit.io test::Country) ]
                                                                                                                      • End If
                                                                                                                      • Set Variable [ $curl; Value:MBS("CURL.New") ]
                                                                                                                      • Set Variable [ $r; Value:MBS("CURL.SetOptionURL"; $curl; $url) ]
                                                                                                                      • #Run transfer
                                                                                                                      • Set Variable [ $PerformResult; Value:MBS("CURL.Perform"; $curl) ]
                                                                                                                      • #Check result
                                                                                                                      • Set Field [ WeatherBit.io test::CURL Debug; MBS("CURL.GetDebugAsText"; $curl) ]
                                                                                                                      • Set Variable [ $result; Value:MBS("CURL.GetResultAsText"; $curl; "utf-8") ]
                                                                                                                      • Set Field [ WeatherBit.io test::CURL Result; $result ]
                                                                                                                      • Set Variable [ $r; Value:MBS("CURL.Cleanup"; $curl) ]
                                                                                                                      • If [ $PerformResult = "OK" ]
                                                                                                                      • Perform Script [ “Parse” ]
                                                                                                                      • Else
                                                                                                                      • Show Custom Dialog [ Title: "Failed to query"; Message: MBS( "CURL.ErrorMessage"; $curl ); Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                      • 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: [Query]Next Script: [Import Icons]
                                                                                                                            Script NameParse
                                                                                                                            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 [ $json; Value:MBS( "JSON.GetObjectItem"; WeatherBit.io test::CURL Result; "data" ) ]
                                                                                                                              • If [ MBS("isError") ]
                                                                                                                              • Show Custom Dialog [ Message: "JSON not as expected."; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                              • Else
                                                                                                                              • Set Variable [ $r; Value:MBS( "JSON.GetArrayItem"; $json; 0 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Latitude; MBS( "JSON.GetPathItem"; $r; "lat"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Longitude; MBS( "JSON.GetPathItem"; $r; "lon"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Sunrise time; MBS( "JSON.GetPathItem"; $r; "sunrise"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Sunset time; MBS( "JSON.GetPathItem"; $r; "sunset"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Local IANA Timezone; MBS( "JSON.GetPathItem"; $r; "ob_time"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Last observation time; MBS( "JSON.GetPathItem"; $r; "datetime"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::City name; MBS( "JSON.GetPathItem"; $r; "city_name"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Country abbreviation; MBS( "JSON.GetPathItem"; $r; "country_code"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::State abbreviation; MBS( "JSON.GetPathItem"; $r; "state_code"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Pressure; MBS( "JSON.GetPathItem"; $r; "pres"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Sea level pressure; MBS( "JSON.GetPathItem"; $r; "slp"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Wind speed; MBS( "JSON.GetPathItem"; $r; "wind_spd"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Wind direction; MBS( "JSON.GetPathItem"; $r; "wind_dir"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Verbal wind direction; MBS( "JSON.GetPathItem"; $r; "wind_cdir_full"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Temperature; MBS( "JSON.GetPathItem"; $r; "temp"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Relative humidity; MBS( "JSON.GetPathItem"; $r; "rh"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Cloud coverage; MBS( "JSON.GetPathItem"; $r; "clouds"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Visibility; MBS( "JSON.GetPathItem"; $r; "vis"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::Accumulated snowfall; MBS( "JSON.GetPathItem"; $r; "snow"; 1+2 ) ]
                                                                                                                              • Set Field [ WeatherBit.io test::icon; MBS( "JSON.GetPathItem"; $r; "weather¶icon"; 1+2 ) ]
                                                                                                                              • 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: [Parse]
                                                                                                                                      Script NameImport Icons
                                                                                                                                      Run script with full access privilegesOff
                                                                                                                                      Include In MenuNo
                                                                                                                                      Layouts that use this script
                                                                                                                                        Scripts that use this script
                                                                                                                                          Script Definition
                                                                                                                                          Script Steps
                                                                                                                                          • #Import image files from download folder. Please download icons yourself if you like to do this.
                                                                                                                                          • Go to Layout [ “Icons” (Icons) ]
                                                                                                                                          • Set Variable [ $folder; Value:"/Users/cs/Downloads/icons/" ]
                                                                                                                                          • Set Variable [ $List; Value:MBS( "Files.List"; $folder; 1+4 ) ]
                                                                                                                                          • If [ MBS("IsError") ]
                                                                                                                                          • Show Custom Dialog [ Message: $List; Default Button: “OK”, Commit: “Yes”; Button 2: “Abbrechen”, Commit: “No” ]
                                                                                                                                          • Else
                                                                                                                                          • Delete All Records [ No dialog ]
                                                                                                                                          • If [ MBS("IsError") = 0 ]
                                                                                                                                          • Set Variable [ $count; Value:ValueCount ( $list ) ]
                                                                                                                                          • Set Variable [ $index; Value:1 ]
                                                                                                                                          • Loop
                                                                                                                                          • Set Variable [ $name; Value:GetValue($List; $index) ]
                                                                                                                                          • Set Variable [ $path; Value:MBS( "Path.AddPathComponent"; $folder; $name ) ]
                                                                                                                                          • New Record/Request
                                                                                                                                          • Set Field [ Icons::Name; Substitute($name; ".png"; "") ]
                                                                                                                                          • Set Field [ Icons::Icon; MBS( "Files.ReadFile"; $path; "auto") ]
                                                                                                                                          • Commit Records/Requests [ No dialog ]
                                                                                                                                          • Set Variable [ $index; Value:$index + 1 ]
                                                                                                                                          • Exit Loop If [ $index > $count ]
                                                                                                                                          • End Loop
                                                                                                                                          • End If
                                                                                                                                          • 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: WeatherBit.io test

                                                                                                                                                Used functions:




                                                                                                                                                Links
                                                                                                                                                MBS FileMaker blog