ZAF Client API trigger event



Publication le 28 nov. 2023

Hello, I am trying to trigger an event from the ticket/user sidebar using the ZAF Client like this https://developer.zendesk.com/api-reference/apps/apps-core-api/client_api/#clienttriggername-data

client.trigger('open_flex_popover');
And catch it in a different place (Twilio Flex Plugin) using another ZAF Client.
this.zaf.on('open_flex_popover', function() {  console.log('opening!')});
Since this happens in the same browser window, I was expecting to be able to catch the action, but it doesn't seem to work.
 
If I am triggering and listening in the same html file, it works, but that doesn't help me much.
 
Do you have any idea why the action is not caught? Do you have any alternatives? Ideas? I am kind of stuck.

0

2

0 commentaire

Se connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication