Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

Bugreport: offline viewing $scope.setWidgetProp only white

whity
16-Pearl

Bugreport: offline viewing $scope.setWidgetProp only white

Hello, 

just wanted to share this with you. If you make your experience downloadable you should make sure not to use:

$scope.setWidgetProp(labelname, "text", "text2print");

 

Use this instead:
$scope.view.wdg['labelname']['text']="text2print";

 

Otherwise the app won't load properly and you'll only see a plane white surface. At least, that's what I got. 

 

Greetings

Whity

 

0 REPLIES 0
Announcements
Top Tags