Zendesk Sell App - RouteTo?
Hi,
In the "sell" product, I am developing a ZAF app in the top_bar location.
I would like to add a button for the user to navigate to a specific lead for which I have retrieved the id.
In the "support" product, I have the "routeTo" method that lets me achieve this feature. However, this method seems to only be part of the Support API, and trying to use it in the "sell" context leads to the following error:
Uncaught (in promise) APIUnavailable: Could not find handler for: "routeTo"
How do I route users to specific views in a Sell App?
The only way I found was to make them click on a button with the href attribute being the target url, but this only works if target="_blank" (which opens the lead in a new tab, not the result I was hoping for), as we are in an iframe and the iframe does not allow the sandbox option "allow-top-navigation-by-user-activation".
Thanks in advance for any help.
-
Hey Rémi,
Unfortunately you're limited into how you can handle routes in sell. The button with an href attribute is unfortunately the best option.
Sorry for the inconvienience.
Por favor, entrar para comentar.
1 Comentários