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
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