Keep app sidebar open by default

4 Comentarios

  • Dan Cooper
    Community Moderator

    Hi Jonathan, 

    This is probably the overkill solution, but if you are doing any Zendesk app development you could include this line of code to open the app tray. 


    If you aren't doing any app development for Zendesk, this line of code can be incorporated alongside the sample code built in Zendesk's Build your first support app tutorial.

  • Jonathan

    Thanks, Dan Cooper

    Very helpful. 

  • Dan Michaels

    I tried creating a background app

    main.js file

    import ZDClient from './services/ZDClient.js';

    var client = ZAFClient.init();


    the iframe.html

      <meta charset="utf-8">
      <div id="app"></div>
       <script src=""></script>
      <script src="./src/main.js" type="module"></script>


    This does not work though.  When I go to the new ticket or click on an existing ticket the app sidebar is not open showing my other apps.    I need this to default to open for the apps because some users don't know to click the box to open the apps and it is causing confusion.


  • Dan Michaels

    Ok so I tested incognito and looks like this code does work to default to open. However it is remembering when I close the app toolbar and will not default to open anymore when I have closed it.  That is why it originally didn't work because I closed the apps to make sure it would default to open and it was not opening.  Incognito does not have the cashed close setting so it then correctly works and defaults the apps to open. Is there a way to override this close app caching to make sure any time they go into a new ticket or existing ticket that it will default to open instead of using the cached close?


Iniciar sesión para dejar un comentario.

Tecnología de Zendesk