Hello
We have a requirement to add bot in a website and find out logged in user's name and say -Hello "user".
To achieve that we need to access variable from LiveChatBootstrapper.js or any external html page in the bot but unable to do so.
Code snippet we used to integrate the bot in Website as below:
-------------------------------------
<script id="Microsoft_Omnichannel_LCWidget" src="https://oc-cdn-public-ind.azureedge.net/livechatwidget/scripts/LiveChatBootstrapper.js" data-app-id="19ce74e2-c8cb-4ad7-8a6c-62ae7c3b8bc7" data-lcw-version="prod" data-org-id="e1981937-779d-4a01-aa87-0d0ab11db012" data-org-url="https://unqe1981937779d4a01aa870d0ab11db-crm8.omnichannelengagementhub.com"
data-color-override = "green"
"></script>
---------------------------------------
For example, we want to access the variable "data-color-override" in our chatbot and text will come as - Hello "green" in once user clicks on chatbot.
Any suggestion/idea would highly appreciable.
Thanks
Kushal
Romain The Low-Code...
25
Pablo Roldan
25
stampcoin
10