Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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!