- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Searching Decisions Using a Keyword
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 6.13.0 |
Root Folder | Example Lab - Searching Using a Keyword |
Modules | None |
Dependencies | None |
This Example Lab Project Demonstrates how to search a Decisions database using a keyword and returning the results to the user as a list displayed in a Form.
Explanation
This example project works by using the Fetch Entities step to return matching results from a keyword input in a Form. When the user inputs a keyword into the textbox on the Form the input if passed to a Data Flow built into the Form. The Data Flow contains the Fetch Entities step. The Fetch Entities step in this example searches the type "Accounts" so any results will be from the existing accounts on the user's Decisions instance. In order to search the results using an email address keyword the fetch criteria is set to "emailaddress contains". This fetch criterion will return any results that contain any part of the keyword input by the user. The results are then passed back into the Form and displayed in a Radio Button List Form component.