I’ve been trying to create a data app on the desktop. One of the issues that I’m struggling with is to create multiple pages in the data app.
e.g.
page 1 – A line chart
page 2 – A table of numbers
I know that it can be done on KNIME Server – but I can’t seem to find a way to do it on the desktop. Is there a way to do this? Or is it just a pipe dream?
You set up the widget to re-execute on change.
You then connect it to the case switch start node and use the “index” flow variable to drive which port is active.
You then connect the output ports to your widget - you can even connect it to a full component that holds the view you want to make visible e.g. on page 1.
Whatever is connected to an inactive branch will not display and whenever you change the page, your view refreshes showing only what is connected to the now active branch.
Well I think what you need to know is home many pages you have.
You can then create a view for each page as individual component inside your main component.
E.g. instead of having the text widgets that I used as a placeholder you can have a component with a bunch of different charts, other widgets the user can interact with etc…
For each page you’d add an additional selection option in the single selection widget and an additional output port in the case switch node…