"preloadPane" Error: Could not find handler for: "preloadPane" | Community
Skip to main content

"preloadPane" Error: Could not find handler for: "preloadPane"

  • August 7, 2023
  • 0 replies
  • 0 views

Development

I'm building a telephony integration application with our own platform.

So, I wish to preload the iFrame in the top_bar position to be able to respond to incoming calls that come through the websocket connection in our own application (the iFrame).

However, using the "background" option in the Zendesk manifest and

topBarClient?.invoke('popover')

in the iFrame generates this error: "preloadPane" Could not find handler for: "preloadPane".

How can I "wake" the Zendesk application through "invoke()"?

** Not sure what happend to the code block...

Manifest.json (currently testing through localhost):

 
"location": {
    "support": {
      "background": {
        "url": "http://localhost:3000/zendesk-cti"
      },
      "ticket_sidebar": {
        "url": "http://localhost:3000/zendesk-cti",
        "autoLoad": true,
        "flexible": true,
        "size": {
          "width": 320,
          "height": 800
        }
      },
      "top_bar": {
        "url": "http://localhost:3000/zendesk-cti",
        "autoLoad": true,
        "flexible": false,
        "size": {
          "width": 320,
          "height": 600
        }
      },
      "new_ticket_sidebar": {
        "url": "http://localhost:3000/zendesk-cti",
        "autoLoad": true,
        "flexible": true,
        "size": {
          "width": 320,
          "height": 800
        }
      }
    }
  },