Allow Button Script on Client Portal
Hello,
I am trying to use this code on our Client Portal to create a "Live Chat" button that will interact with the Ivy chatbot on that page.
<button onclick="ivyapi.open({question: ‘Live Chat’}); return false;">Live Chat</button>
It appears that the script is being sanitized. I tried to allow scripts from the Client Portal URL, but that does not work. What can we do to make this work?
Answer (1)
Hi Scott,
If you added this as an HTML module to your client portal, did you try unchecking the box for 'Sanitize Content' to see if that helps? You may also want to make sure that no elements are listed as permanently disallowed for the HTML Allowlists: https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=48230
Best,
Brittany Renn
TDX Support