You need to sign in to do that
Don't have an account?
GJS Greg
Channel Menu Javascript docs. Especially for chat
Hi all,
Is there any documentation on Javascript support for Channel Menu yet?
All existing chat functions aren't available anymore like pre-populating fields, extra prechat form details, mapping fields to SF chat transcript, offline chat support?
After I installed it with the existing code I noticed JS errors and I guessed that the functions changed from
embedded_svc.settings.XXXXX
to:
embedded_svc.menu.settings.XXXXX
Which removed the JS errors but the fucntions don't work so it's like they haven't brought across these existing features.
I can't believe this was released to market without any support and documentation and for functionality to go backwards and make it impossible to use the menu.
Is there any documentation on Javascript support for Channel Menu yet?
All existing chat functions aren't available anymore like pre-populating fields, extra prechat form details, mapping fields to SF chat transcript, offline chat support?
After I installed it with the existing code I noticed JS errors and I guessed that the functions changed from
embedded_svc.settings.XXXXX
to:
embedded_svc.menu.settings.XXXXX
Which removed the JS errors but the fucntions don't work so it's like they haven't brought across these existing features.
I can't believe this was released to market without any support and documentation and for functionality to go backwards and make it impossible to use the menu.
Originally when I first installed the new code with the old LiveAgent code it showed both widgets on the same web page. So I didn't think that was the solution.
After testing again, both the old LiveAgent legacy JS code alongside the new Channel Menu JS code work.
All Answers
Omni-Channel lets your call center route any type of incoming work item to the most qualified, available agents. The Lightning Console JavaScript API for Lightning Experience includes several objects that let you control how Omni-Channel works within the Lightning Service Console for your organization.
https://developer.salesforce.com/docs/atlas.en-us.omni_channel_dev.meta/omni_channel_dev/service_presence_console_api_lightning.htm
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks.
Hi Abhishek,
I was referring to the website Channel Menu, which is to provide extra functionality over the legacy web snapin/liveagent
Thanks
Originally when I first installed the new code with the old LiveAgent code it showed both widgets on the same web page. So I didn't think that was the solution.
After testing again, both the old LiveAgent legacy JS code alongside the new Channel Menu JS code work.
"After testing again, both the old LiveAgent legacy JS code alongside the new Channel Menu JS code work."
@regidsites - sorry I'm not using direct routing. But you could proably apply the same logic in the new Omni Channel Flow options?
https://help.salesforce.com/s/articleView?id=sf.omnichannel_flows.htm&type=5