Add a example search to the UI (YouTube 18:43)¶
Here we will enter search string for our lastname.
Step 1: Add a UI form
and function
Node to the flow¶
- Insert in the function node and insert following code
var data = {};
data.theLastname = msg.payload.lastname;
data.limit = "200";
msg.payload = data;
return msg;
Step 2: Configure the UI form
¶
- Group:
User
- Label:
Lastname
- Name:
lastname
Step 3: Press deploy¶
Congrats, if you got this far you are ready to use your mini application in the internet!