Community Tip - You can change your system assigned username to something more personal in your community settings. 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.