Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

HTML Output on the Gallery

Ste6274
5 - Atom

I'm trying to automate the creation of some HTML files. When i run this on the gallery and open the HTML file in Notepad ++, i can see the following lines are added to the body:

<div><script src='https://whitelist.alteryx.com/v1/downloads/v1/lib/plotly/plotly.min.19.3.js'></script><script src='https://whitelist.alteryx.com/v1/downloads/v1/lib/plotly/md5.min.js'></script></div>
<div><script>window.ayxChartQueue = [];</script></div>

 

<div><script>var ayxWaitAndRender = function () {if (!window.ayxChartQueue) return; if (window.Plotly) {clearTimeout(window.ayxChartTimer);window.ayxChartQueue.forEach(function(cb){cb();})} else {clearTimeout(window.ayxChartTimer);window.ayxChartTimer = setTimeout(ayxWaitAndRender, 500);}};ayxWaitAndRender();</script></div>

 

 

These lines do not appear in the HTML file when i run it in the Alteryx Designer. Can anybody tell me what these mean and why they are included as i am at a loss? The reason it is important is that i am using a dynamic input tool later in the workflow to read the HTML files back in, and adding an image link to the HTML, and outputting the file again, so it is messing up the position the image link gets put in the output.

1 REPLY 1
LordNeilLord
15 - Aurora

Hey @Ste6274 

 

Are you outputting charts on to the HTML page?

 

These chunks of code are related to the integrated Plotly tool that generates the charts in Alteryx

Labels