Article - CS338705

Validator has unexpected value when loading a mashup in ThingWorx

Modified: 11-Jul-2022   


Applies To

  • ThingWorx Platform 9.1 to 9.3

Description

  • Scenario 1
    • The widget's property default value for Visible is not considered when a validator is bind to it in ThingWorx
    • A button has its Visible property set to on, however this property is also bind to a validator output
    • When Mashup is loaded the button is not displayed despite Visible being selected.
  • Scenario 2
    • Validator appears to be triggered before the event is executed
    • A button Clicked event is bind to the Evaluate of a validator
    • he output of the validator is bind to a label widget
    • the code of the validator is
      result = true;

      Output is selected in validator property
    • When loading the mashup the label shows true, though the button has not been clicked yet
This is a printer-friendly version of Article 338705 and may be out of date. For the latest version click CS338705