You can't open a top nav app directly because they aren't loaded into the DOM until they're opened. This means they aren't available to make requests until that point.
To open a top nav app automatically, you need to use the instances API from another app location, such as a background app. By setting your app's locations to bothtop_bar
andbackground
, the background app loads immediately, allowing you to use it to open the top nav app. For more information, check out theoriginal article.
Yes, you can automatically open a top nav app, but not directly from the top nav itself. Top nav apps aren't loaded into the DOM until they're opened. To work around this, you can use the instances API from another app location, like the ticket…
To configure a Zendesk app to open a top nav app automatically, you need to use a background app. Since top nav apps aren't loaded into the DOM until opened, you can use the instances API from a background app to open it. In your app's manifest,…
The workaround for opening a top nav app automatically involves using a background app. Since top nav apps aren't loaded into the DOM until opened, you can use the instances API from a background app to open it. By setting your app's locations to…