ticket_sidebar app: Controling size of the iframe

  • 4 June 2018
  • 2 replies
  • 172 views

Hello,

I am developing an app for the ticket_sidebar.  Are we able to control the vertical height of the app's panel?  Also, are we able to control the order in which the apps display in the sidebar?  


By default my app is the last in the list and opens to a fairly small area.  This forces the user to do a lot of scrolling.



Thanks,

Jason




This topic has been closed for comments

2 replies

Jason, you can resize the app using the instance API - https://developers.freshdesk.com/v2/docs/instance-api/


client.instance.resize({height:"500px"});


We don't currently support ordering of the apps, they appear in the order that they are enabled. One (clumsy) way you can change the order is to disable the apps that currently appear above your custom app and then re-enable them. That will move your custom app higher.

Hello, 

I did notice the client.instance.resize(). But the app still is confined inside an iframe with fixed max-height of 300px. Is there anyway to change the size of the iframe for the app?

Ayushman

image