Article - CS390335

Cannot read property from null error when acquire property value in service with ThingWorx Platform

Modified: 17-Apr-2023   


Applies To

  • ThingWorx Platform 8.4 to 9.3

Description

  • Read ThingWorx Thing property from service however return below error
  • Sample Code
    • Things["ThingName"].PropertyName
  • Error
    • Cannot read property "xxx" from null

       
This is a printer-friendly version of Article 390335 and may be out of date. For the latest version click CS390335