Dynamically switching reports using iFrame
In this recipe, we will see how to use one report as a container to call or display different reports. We will use an HTML element called iFrame that allows the browser window to be split into segments. Each segment can be updated separately.
We will give users the ability to choose which report contents to display and toggle between two reports by clicking the appropriate button. You can build upon this idea to create many practical solutions like displaying help, toggling graphs, providing tabs to display different reports, and so on.
Getting ready
Create a simple list report with Product related columns (Product query subject) and save it as iFrame–Products.
Create another simple list report with Retailer related columns (Retailer query subject) and save this report as iFrame–Retailers.
How to do it...
Go to Connection Portal and locate the reports we created previously.
Click on the Set Properties button for 'iFrame –Products'. From General tab, click...