cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
priyaj
New Member

Unable to send the data entered in powerapps portal to Omnichannel chat

Hi Experts,

 

We have a requirement where the data entered on a webpage (Entity form) in powerapps portals to Omnichannel chat using context variables. I have searched on Google but there is no information as how we could pass the values entered on powerapps portal to Omnichannel chat. There are some blogs where the data is hardcoded and sent as context variables to Omnichannel chat using the below code. Please help if anyone have already implemented something like above.


Microsoft.Omnichannel.LiveChatWidget.SDK.setContextProvider(contextProvider)

 

Thanks,

JCP

2 REPLIES 2
Fubar
Solution Sage
Solution Sage

See the sample JavaScript code on the following page - the 'contextProvider' in the setContextProvider(...) is the function at the top of the code sample 

https://docs.microsoft.com/en-us/dynamics365/customer-service/send-context-starting-chat

@Fubar  - Thanks for the response.

 

I have already went through the above link. Here the requirement is we need to send the values entered on entity form on powerapp portal to Omnichannel chat using context variables and if we send anything using context provider those values will be displayed in Additional Details tab on agent landing screen. Please suggest.

 

Thanks,

Priya

Helpful resources

Announcements
Welcome Super Users.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,701)