"ROUTE_TO" function not working when the user is in the context of "All Departments"

"ROUTE_TO" function not working when the user is in the context of "All Departments"


I'm trying to load my extension side panel automatically when the agent navigates to a ticket, using the background widget.

I'm using the following code:
  1. ZOHODESK.invoke("ROUTE_TO" , {
  2. entity : "extension",
  3. location : "desk.ticket.detail.lefttab", //invoke location
  4. name : "Left Tab" //name of the widget 
  5. })
I am finding this works if the user is viewing in a specific department, but not if the user is in "All Departments".  Is there any way I can make this work, regardless of the department?  This is an internal extension, and I want the background widget etc to work for all departments.

What I'm actually trying to do is force my left pane load first instead of the default "Ticket Details" left pane. So if there's a better  way to accomplish this than the approach I'm using, please let me know.

      Zoho Developer Community

                                Zoho Desk Resources

                                • Desk Community Learning Series

                                • Digest

                                • Functions

                                • Meetups

                                • Kbase

                                • Resources

                                • Glossary

                                • Desk Marketplace

                                • MVP Corner

                                • Word of the Day

                                    Zoho Marketing Automation

                                            Manage your brands on social media

                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources

                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources

                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources

                                                              Zoho Sprints Resources

                                                                Qntrl Resources

                                                                  Zoho Creator Resources

                                                                    Zoho WorkDrive Resources

                                                                      Zoho Campaigns Resources

                                                                        Zoho CRM Resources

                                                                        • CRM Community Learning Series

                                                                          CRM Community Learning Series

                                                                        • Tips


                                                                        • Functions


                                                                        • Meetups


                                                                        • Kbase


                                                                        • Resources


                                                                        • Digest


                                                                        • CRM Marketplace

                                                                          CRM Marketplace

                                                                        • MVP Corner

                                                                          MVP Corner

                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now