Icon

01.Game Data App - Solution

<p>This workflow finishes the implementation of a Game Data App by adding the Page 3-Form, and Page 4-Dashboard. The result is a customized and interactive application that is ready to be deployed as a data app on KNIME Hub.</p>
(Optional) Page 4b
Step 5. Validate user input data

You want to check whether the user entered valid data or just left the default entries.

  1. With a Row Filter node, remove the entry if the email address is "example@email.com" (default)

  2. Define a conditional path by adding an Empty Table Switch node.

  3. Connect the first port of the Empty Table Switch node (non-empty table) to Page 4a - the user sees the dashboard

  4. Connect the second port of the Empty Table Switch node (empty table) to Page 4b - the user sees an error message


The first two pages are already configured. Page 1 shows a Welcome page while setting up the game session, and Page 2 let the user play the game (3 iterations)

Page 1
Set up the match
Page 2
Play the game
Page 3
Show match results and collect user feedback
Page 4a
Show an interactive dashboard with game statistics
Step 6. Deployment

Upload this workflow to KNIME Hub:

  1. Right click the workflow in the Explorer and select Upload.

  2. Reset the workflow before upload.

In the Hub browser UI:

  1. Create a new workflow version.

  2. Deploy this workflow as a Data app.

    • In Advanced settings, select the User execution scope, and create the deployment

  3. Execute the Data app.

Part 2 - Building and Deploying a Data App

Exercise 01 Game Data App

Learning objective: In this exercise you'll learn how to build and deploy a data app with components, interactivity, and other configurations.


Workflow description: This workflow finishes the implementation of a Game Data App by adding the Page 3-Form, and Page 4-Dashboard. The result is a customized and interactive application that is ready to be deployed as a data app on KNIME Business Hub.


You'll find the instructions to the exercises in the yellow annotations.

Table Row to Variable
Page 4b - Error Message
Dashboard
Page 4a
Empty Table Switch
Variable Loop End
Select image and names columns
Play
Counting Loop Start
Welcome
Form
Page 3
Row Filter

Nodes

Extensions

Links