cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable bookmarking in specific view?

SOLVED
Highlighted
Aquamarine

How to disable bookmarking in specific view?

Hello

 

I tried to add bookmark to an expirience. When I open an expirience via this bookmark it started on a specific view  where was bookmark created (it does not start in initial view).

 

Is it possible to allow bookmarks only on initial view or disable/redirect bookmarking to specific view?

 

view structure.jpg

 

 

 

 

 

 

Regards

Tomas

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to disable bookmarking in specific view?

Hi @TomasCharvat ,

 

I think the problem here is that the bookmark / in Vuforia View/ contains all this information. So means it depends on the last current location where you add the bookmark. So you can see this when you share the bookmark.

Example for the syntax :

 

 

https://view.vuforia.com/command/view-experience?url=https%3A%2F%2Fgallery.vuforia.io%2FExperienceService%2Fcontent%2Fprojects%2Fmissile-st%2Findex.html%3FexpId%3D1%23%2FHome

 

 

 

Here is an explicit specification of the view. So if you pay attention to generate all your bookmarks in the correct view this could , may be , help.

Otherwise possibly you can add in each view a listener - something like this

 

 

 

$scope.$on('$ionicView.beforeEnter', function(){
if($scope.app.params['VIEWCALLOK']=='false')
    twx.app.fn.navigate("YourStartView");
});

 

 

 

so that it will check if the parameter e.g.  VIEWCALLOK is true  . If false then it will navigate to your start view.

The parameter  could be set to true in the start view so that later the navigation to other views will work.

View solution in original post

2 REPLIES 2
Highlighted

Re: How to disable bookmarking in specific view?

Hi @TomasCharvat ,

 

I think the problem here is that the bookmark / in Vuforia View/ contains all this information. So means it depends on the last current location where you add the bookmark. So you can see this when you share the bookmark.

Example for the syntax :

 

 

https://view.vuforia.com/command/view-experience?url=https%3A%2F%2Fgallery.vuforia.io%2FExperienceService%2Fcontent%2Fprojects%2Fmissile-st%2Findex.html%3FexpId%3D1%23%2FHome

 

 

 

Here is an explicit specification of the view. So if you pay attention to generate all your bookmarks in the correct view this could , may be , help.

Otherwise possibly you can add in each view a listener - something like this

 

 

 

$scope.$on('$ionicView.beforeEnter', function(){
if($scope.app.params['VIEWCALLOK']=='false')
    twx.app.fn.navigate("YourStartView");
});

 

 

 

so that it will check if the parameter e.g.  VIEWCALLOK is true  . If false then it will navigate to your start view.

The parameter  could be set to true in the start view so that later the navigation to other views will work.

View solution in original post

Re: How to disable bookmarking in specific view?

Hello  RolandRaytchev

 

Thank you for answer. Described code works really good with little modifications for mine project.

 

Regards

 

Tomas

Announcements
Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection