MBS FileMaker Plugin Example Databases

Weather WebService

All examples are included with download of MBS FileMaker Plugin.

Weather WebService.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
Whether WebService
18 fields defined, 1 record
Whether WebService

Fields

Table Name: Whether WebService - 18 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
zipNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      resultNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          DebugNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              SuccessNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  ResponseTextNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German
                      StateNormal, 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
                              WeatherStationCityNormal, TextAuto-Enter:
                              • Allow editing
                              Validation:
                              • Only during data entry
                              Storage:
                              • Repetitions: 1
                              • Indexing: None
                              • Automatically create indexes as needed
                              • Index Language: German
                                  WeatherIDNormal, TextAuto-Enter:
                                  • Allow editing
                                  Validation:
                                  • Only during data entry
                                  Storage:
                                  • Repetitions: 1
                                  • Indexing: None
                                  • Automatically create indexes as needed
                                  • Index Language: German
                                      DescriptionNormal, TextAuto-Enter:
                                      • Allow editing
                                      Validation:
                                      • Only during data entry
                                      Storage:
                                      • Repetitions: 1
                                      • Indexing: None
                                      • Automatically create indexes as needed
                                      • Index Language: German
                                          TemperatureNormal, TextAuto-Enter:
                                          • Allow editing
                                          Validation:
                                          • Only during data entry
                                          Storage:
                                          • Repetitions: 1
                                          • Indexing: None
                                          • Automatically create indexes as needed
                                          • Index Language: German
                                              RelativeHumidityNormal, TextAuto-Enter:
                                              • Allow editing
                                              Validation:
                                              • Only during data entry
                                              Storage:
                                              • Repetitions: 1
                                              • Indexing: None
                                              • Automatically create indexes as needed
                                              • Index Language: German
                                                  WindNormal, TextAuto-Enter:
                                                  • Allow editing
                                                  Validation:
                                                  • Only during data entry
                                                  Storage:
                                                  • Repetitions: 1
                                                  • Indexing: None
                                                  • Automatically create indexes as needed
                                                  • Index Language: German
                                                      PressureNormal, 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
                                                              WindChillNormal, TextAuto-Enter:
                                                              • Allow editing
                                                              Validation:
                                                              • Only during data entry
                                                              Storage:
                                                              • Repetitions: 1
                                                              • Indexing: None
                                                              • Automatically create indexes as needed
                                                              • Index Language: German
                                                                  RemarksNormal, TextAuto-Enter:
                                                                  • Allow editing
                                                                  Validation:
                                                                  • Only during data entry
                                                                  Storage:
                                                                  • Repetitions: 1
                                                                  • Indexing: None
                                                                  • Automatically create indexes as needed
                                                                  • Index Language: German
                                                                      RawResultNormal, TextAuto-Enter:
                                                                      • Allow editing
                                                                      Validation:
                                                                      • Only during data entry
                                                                      Storage:
                                                                      • Repetitions: 1
                                                                      • Indexing: None
                                                                      • Automatically create indexes as needed
                                                                      • Index Language: German

                                                                          Layout Objects: Whether WebService

                                                                          Regular Fields

                                                                          Field Name: Whether WebService::zip
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 72 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 86 pt
                                                                          • Right: 241 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::result
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 54 pt
                                                                          • Left: 456 pt
                                                                          • Bottom: 68 pt
                                                                          • Right: 709 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Debug
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 72 pt
                                                                          • Left: 456 pt
                                                                          • Bottom: 356 pt
                                                                          • Right: 889 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Success
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 150 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 164 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::ResponseText
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 168 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 182 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::State
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 186 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 200 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::City
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 204 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 218 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::WeatherStationCity
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 222 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 236 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::WeatherID
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 240 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 254 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Description
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 258 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 272 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Temperature
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 276 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 290 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::RelativeHumidity
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 294 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 308 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Wind
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 312 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 326 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Pressure
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 330 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 344 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Visibility
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 348 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 362 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::WindChill
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 366 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 380 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::Remarks
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 384 pt
                                                                          • Left: 138 pt
                                                                          • Bottom: 398 pt
                                                                          • Right: 391 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Field Name: Whether WebService::RawResult
                                                                          Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                                                                          • Top: 72 pt
                                                                          • Left: 900 pt
                                                                          • Bottom: 356 pt
                                                                          • Right: 1303 pt
                                                                          • Anchoring: Left, Top
                                                                          Field Format:
                                                                          • Edit Box
                                                                          Field Behavior:
                                                                          • Allow field to be entered: In Find mode, In Browse mode
                                                                          • Touch keyboard type: System Default
                                                                          • Go to next field using: Tab key
                                                                          Yes

                                                                          Group Buttons

                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Lookup Whether
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 66 pt
                                                                          • Left: 257 pt
                                                                          • Bottom: 91 pt
                                                                          • Right: 380 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “Run” ]

                                                                          Scripts:


                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Weather in New York
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 102 pt
                                                                          • Left: 29 pt
                                                                          • Bottom: 127 pt
                                                                          • Right: 170 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “RunNY” ]

                                                                          Scripts:


                                                                          Button PropertiesCoordinatesScript/Script Step
                                                                            Type:
                                                                          • Text: Weather in San Francisco
                                                                            Additional Properties:
                                                                          • Change to hand cursor over button
                                                                          • Rectangular
                                                                          • Top: 102 pt
                                                                          • Left: 182 pt
                                                                          • Bottom: 127 pt
                                                                          • Right: 341 pt
                                                                          • Anchoring: Left, Top
                                                                          Perform Script [ “RunSF” ]

                                                                          Scripts:


                                                                          Script Hierarchy

                                                                          Run
                                                                          RunNY
                                                                          RunSF
                                                                          Clear

                                                                          Next Script: [RunNY]
                                                                          Script NameRun
                                                                          Run script with full access privilegesOff
                                                                          Include In MenuYes
                                                                          Layouts that use this script
                                                                          Scripts that use this script
                                                                          Script Definition
                                                                          Script Steps
                                                                          • #Setup transfer
                                                                          • Set Variable [ $curl; Value:MBS("CURL.New") ]
                                                                          • Set Variable [ $result; Value:MBS("CURL.SetOptionURL"; $curl; "http://wsf.cdyne.com/WeatherWS/Weather.asmx") ]
                                                                          • Set Variable [ $result; Value:MBS("CURL.SetOptionHTTPHeader"; $curl; "Content-Type: text/xml; charset=utf-8"; "Expect:"; "SOAPAction: \"http://ws.cdyne.com/WeatherWS/GetCityWeatherByZIP\"") ]
                                                                          • #Set input XML with zip code inside
                                                                          • Set Variable [ $result; Value:MBS("CURL.SetOptionPostFields"; $curl; "<?xml version=\"1.0\" encoding=\"utf-8\"?> <soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"> <soap:Body> <GetCityWeatherByZIP xmlns=\"http://ws.cdyne.com/WeatherWS/\"> <ZIP>" & Whether WebService::zip & "</ZIP> </GetCityWeatherByZIP> </soap:Body> </soap:Envelope>") ]
                                                                          • #Run transfer
                                                                          • Set Field [ Whether WebService::result; MBS("CURL.Perform"; $curl) ]
                                                                          • #Check result
                                                                          • Set Field [ Whether WebService::Debug; MBS("String.ReplaceNewline"; MBS("CURL.GetDebugAsText"; $curl);1) ]
                                                                          • Set Variable [ $result; Value:MBS("String.ReplaceNewline"; MBS("CURL.GetResultAsText"; $curl);1) ]
                                                                          • Set Field [ Whether WebService::RawResult; $result ]
                                                                          • Set Variable [ $r; Value:MBS("CURL.Cleanup"; $curl) ]
                                                                          • #Parse Fields
                                                                          • Set Field [ Whether WebService::Success; Let( [ key1 = "<Success>"; key2 = "</Success>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::ResponseText; Let( [ key1 = "<ResponseText>"; key2 = "</ResponseText>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::State; Let( [ key1 = "<State>"; key2 = "</State>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::City; Let( [ key1 = "<City>"; key2 = "</City>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::WeatherStationCity; Let( [ key1 = "<WeatherStationCity>"; key2 = "</WeatherStationCity>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::WeatherID; Let( [ key1 = "<WeatherID>"; key2 = "</WeatherID>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::Description; Let( [ key1 = "<Description>"; key2 = "</Description>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::Temperature; Let( [ key1 = "<Temperature>"; key2 = "</Temperature>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::RelativeHumidity; Let( [ key1 = "<RelativeHumidity>"; key2 = "</RelativeHumidity>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::Wind; Let( [ key1 = "<Wind>"; key2 = "</Wind>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::Pressure; Let( [ key1 = "<Pressure>"; key2 = "</Pressure>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::Visibility; Let( [ key1 = "<Visibility>"; key2 = "</Visibility>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::WindChill; Let( [ key1 = "<WindChill>"; key2 = "</WindChill>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          • Set Field [ Whether WebService::Remarks; Let( [ key1 = "<Remarks>"; key2 = "</Remarks>"; pos1 = Position($result; key1; 1; 1); pos2 = Position($result; key2; 1; 1); len1 = Length(key1); len2 = Length(key2); r = If(pos1>0 and pos2>0; Middle( $result; pos1+len1; pos2-pos1-len1)) ]; r ) ]
                                                                          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: [Run]Next Script: [RunSF]
                                                                                  Script NameRunNY
                                                                                  Run script with full access privilegesOff
                                                                                  Include In MenuYes
                                                                                  Layouts that use this script
                                                                                  Scripts that use this script
                                                                                    Script Definition
                                                                                    Script Steps
                                                                                    • Set Field [ Whether WebService::zip; 10001 ]
                                                                                    • Perform Script [ “Run” ]
                                                                                    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: [RunNY]Next Script: [Clear]
                                                                                          Script NameRunSF
                                                                                          Run script with full access privilegesOff
                                                                                          Include In MenuYes
                                                                                          Layouts that use this script
                                                                                          Scripts that use this script
                                                                                            Script Definition
                                                                                            Script Steps
                                                                                            • Set Field [ Whether WebService::zip; 94114 ]
                                                                                            • Perform Script [ “Run” ]
                                                                                            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: [RunSF]
                                                                                                  Script NameClear
                                                                                                  Run script with full access privilegesOff
                                                                                                  Include In MenuYes
                                                                                                  Layouts that use this script
                                                                                                    Scripts that use this script
                                                                                                      Script Definition
                                                                                                      Script Steps
                                                                                                      • Set Field [ Whether WebService::RawResult; "" ]
                                                                                                      • Set Field [ Whether WebService::Remarks; "" ]
                                                                                                      • Set Field [ Whether WebService::WindChill; "" ]
                                                                                                      • Set Field [ Whether WebService::Visibility; "" ]
                                                                                                      • Set Field [ Whether WebService::Pressure; "" ]
                                                                                                      • Set Field [ Whether WebService::Wind; "" ]
                                                                                                      • Set Field [ Whether WebService::RelativeHumidity; "" ]
                                                                                                      • Set Field [ Whether WebService::Temperature; "" ]
                                                                                                      • Set Field [ Whether WebService::Description; "" ]
                                                                                                      • Set Field [ Whether WebService::WeatherID; "" ]
                                                                                                      • Set Field [ Whether WebService::WeatherStationCity; "" ]
                                                                                                      • Set Field [ Whether WebService::City; "" ]
                                                                                                      • Set Field [ Whether WebService::State; "" ]
                                                                                                      • Set Field [ Whether WebService::ResponseText; "" ]
                                                                                                      • Set Field [ Whether WebService::Success; "" ]
                                                                                                      • Set Field [ Whether WebService::Debug; "" ]
                                                                                                      • Set Field [ Whether WebService::result; "" ]
                                                                                                      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: Weather WebService

                                                                                                              Used functions:




                                                                                                              Links
                                                                                                              MBS Xojo Plugins