4 Replies Latest reply on Jan 3, 2018 6:19 AM by sbt RSS
    sbt Explorer

    How to get the property value where Thing name and property name is dynamic

    Hello Team,

    I have a scenario where i need to get the property value where Thing name and property name is dynamic.

    var dynThingName = "Thing1";

    var dynPropName = "prop1";

    result = Things[dynThingName ].dynPropName ;


    Failed to get the value, dynPropName is not getting value bcoz it searches for dynPropName which is not defined.

    I have used GetNamedPropertyValues but for a single property value i need to create a infotable as input parameter.


    Any other ways to get the value in a simple way.


    Thanks

    Sunay