Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi all,
How can I bind external data manually using JavaScript? I did bind external data to a label by drag and dropping the external data onto the label widget, it seems to be showing data. However, when written in the code stated below, the data did not show and there is also some error that is stated within the console.
$scope.view.wdg['label-1']['text'] = $scope.app.mdl['Fan2'].svc['GetPropertyValues'].data.current['RPM']
Thank You.
Hi,
try it like this:
$scope.view.wdg['label-1']['text'] = $scope.app.mdl['Fan2'].properties['RPM'];
Its not working too.
Did you add the property in external data?
yes i did add the property.