HTML snippet not working in Mendix page

0
hello all, we are trying to load an HTML snippet in a mendix page. we used html/ javascript snippet and the code is something like this: <script type="text/javascript"> var ss=document.createElement("script"); ss.src = SOURCE_URL; (points to a url with a chatbot) var fs=document.getElementsByTagName("script")[0]; fs.parentNode.insertBefore(ss,fs); </script> While it works in a browser html editor etc., we see nothing when loading the mendix page that includes the snippet. Any ideas? Thank you in advance.
asked
3 answers
0

Does an IFrame work for you?

answered
0

Have you tried removing the <script> tags and using the JavaScript option in HTML Snippet? There is also a JavaScript Snippet widget in the app store that could be worth trying with this approach.

answered
0

Hi, yesterday I tried a snippet with javascript. It worked. The syntax that I used was:

answered