Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi,
Is is possible that I modify the bound data with script? I want to use one model but I would like to change data which is used from Thingworx.
Many thanks in advance
Janos
Solved! Go to Solution.
Hi @Janos1987,
One of the ways to change the ThingName with JS is as follows:
$scope.view.wdg['3DGauge-1']['text'] = $scope.app.mdl['Your_Thing_Name'].properties['PropertyName'];
Hi again,
let me extend better, I have a property and I bind a data from ThingWorx like on attached picture. Is is possible to change the blue underlined text with script?
Thanks
Janos
Hi @Janos1987,
One of the ways to change the ThingName with JS is as follows:
$scope.view.wdg['3DGauge-1']['text'] = $scope.app.mdl['Your_Thing_Name'].properties['PropertyName'];