Recent searches


No recent searches

How can I customize the nav bar to automatically open an app when an event occurs ?



Posted Dec 08, 2023

How can I customize the nav bar to automatically open an app when an event occurs ?


1

4

4 comments

Hi there Ismail, 

Your question doesn't have any details. For e.g. It isn't clear which app are you trying to open, in what location ? What event are you trying to act upon ?

0


Hi Karun,

Thank you for your response. Actually, what I'm trying to do is to automatically open an internally developed private application that is positioned in the nav bar (image below).

We will be using it in the context of receiving a phone call (we use the Genesys solution). That is, once a call comes in, the user's page will automatically open the application.

So, to assist me, it could be triggered by any event (like opening a ticket, for example, or changing a field). My main question is just to know if it's possible to automatically open this private app.

Thanks :)

0


Yes, I did had scenario in mind (among others) and good news 🎉 its possible. 

You can use client.invoke function with routeTo feature as described here with an example of navigation to the location in question. This could e triggered from any location your app reside in (for e.g.  from genesys app top_bar location).

Cheers!

If it helped? vote up ⬆️

1


Hello Karun,

It works well, and that's what I was looking for; thank you :)

Now, I'm having trouble listening to the Genesys Cloud app event. Are we in agreement that what I need to do is create a background app that listens for the event named "alertingInteraction", once this event is detected, I perform the client.invoke. Is that correct? However, I'm having difficulty doing it because it seems like this event is only on the Genesys iframe, and I can't call it from my background app.

What's your perspective on this? Should I go through a background app, or is there another method you suggest?

 

Thanks again!

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post