Using HTML and JavaScript in your reports
In the previous recipe, we automatically generated a report in the PDF format for each existing restaurant in our dataset.
Alteryx allows us to do this, and it is a widely used use case – for example, to provide web access to each client’s respective report, or to integrate them into a web portal.
In this recipe, we will reuse a large part of what has been built so far in this chapter, and with some simple modifications, we will generate a report in HTML, adding to each period a link that will navigate to the details of transactions carried out in that period, plus the capacity to navigate back to the summary report, using a Go Back button. (For this, we will use the JavaScript embedded in the report.) We also will generate detailed HTML files for each restaurant, for each period.
Figure 13.105: The HTML report navigation options
Alteryx has a special way of achieving this, and it is through...