I can get my Filestack Filepicker to load in a simple HTMl document, but then when I move that exact code into my Filemaker Webviewer it doesnt work. From everything I have read this should be doable in a Filemaker Webviewer. What am I missing??
I believe I have tried everything obvious here.
here is my simple code (I removed my API key - but again it worked fine as a html doc in Chrome).
Html that works:
<html>
<head>
<script src="https://static.filestackapi.com/filestack-js/3.x.x/filestack.min.js" crossorigin="anonymous"></script>
</head>
<body>
<script>
const client = filestack.init('APIKEYWASHERE');
client.picker().open();
</script>
</body>
</html>
And here was my FMP Webviewer code:
Let( [
html = "
<html>
<head>
<script type='text/javascript' src=\"https://static.filestackapi.com/filestack-js/3.x.x/filestack.min.js\" crossorigin=\"anonymous\"></script>
</head>
<body>
<script type='text/javascript' >
const client = filestack.init('APIKEYWASHERE');
client.picker().open();
</script>
</body>
</html>"
]; "data:text/html," & html)
Just shows up as a totally blank window.