Skip to main content
16-Pearl
November 11, 2024
Solved

Sequence list load works fine in vuforia studio but not in view app

  • November 11, 2024
  • 1 reply
  • 980 views

Hello Community, So i start my experience and fetch the model from thingworx and then jump to new view and there i have this below code to show the sequences in the list but unfortunately it works perfectly fine in browser but not in view app. The view app is unable to show the list of sequences to select.. Can someone please see that what is a problem in the below code? or how can i resolve this issue. As you guys can see binding also in the below from model to show the sequences. The modelLoaded function is not getting executed and that is an issue.

@RolandRaytchev may be you have an idea...?

 

 

angular.element(document).ready(function () {
 
 
 $timeout(function () {

 
 $scope.setWidgetProp('model-1','src',$scope.app.params.modelPVZFile); 
 $scope.$applyAsync(); 
 
 $rootScope.$on('modelLoaded', function() {
 
 
 $scope.view.wdg["spinner-1"].visible = false;
 
 
 
 console.log("Model and Sequence both are loaded!");
 
});
 
 
 
 

 

 }, 100);
 

 
})

 

 

MA8731174_0-1731317069871.png

 

Best answer by MA8731174

sorry i forgot to add Model Target or Spatial Target. Thats why it was not working. this is solution

1 reply

MA873117416-PearlAuthorAnswer
16-Pearl
November 11, 2024

sorry i forgot to add Model Target or Spatial Target. Thats why it was not working. this is solution

21-Topaz I
November 11, 2024

Hi @MA8731174, that is a good point. The preview should simulate the experience behavior in Studio UI is not consitent enough so that  but its allow to preview the project when it does not have any  targets definition.  No errors or warning. The most functionality is working. That may lead sometimes not to detect that targets defintions is missed.2024-11-11_12-59-43.jpg

MA873117416-PearlAuthor
16-Pearl
November 11, 2024

yes you are right! Thank you for supporting actively.