Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hello.
I'm trying to create a js function that navigates to a specific view. It should work just like the binding to a view via click event from a button.
Thank you all for your help
Solved! Go to Solution.
Hi Marco,
Here you go:
$scope.homeNav = function(){
$scope.app.fn.navigate('YourViewName');
}
Regards,
Adam
Hello, Marco.
Is this a ThingWorx Studio specific use case that you're working on?
Thanks,
-- Craig A.
Hello Craig.
Yes - it is.
Thanks
Marco
Hi Marco,
Here you go:
$scope.homeNav = function(){
$scope.app.fn.navigate('YourViewName');
}
Regards,
Adam
Thank you for your support!