Table of Contents

Search

  1. Preface
  2. Introduction
  3. Establishing a Root Node
  4. Defining the Business Entity Model
  5. Configuring Business Entity Properties
  6. Configuring Reference Entity Properties
  7. Transforming Business Entities and Views
  8. Managing Many-to-Many Relationships
  9. Configuring Search
  10. Configuring Workflow Tasks and Triggers
  11. Configuring Security and Data Filters for Business Entities
  12. Integrating Data as a Service
  13. Configuring External Calls
  14. Designing the Data Director User Interface
  15. Localizing Data Director
  16. Provisioning Tool Frequently Asked Questions

Similar Records with Queries Example

Similar Records with Queries Example

You want to configure the Similar Records component with queries. You want to base the search for similar records on the searchable fields first name and last name. You specify
searchMatch
as the
searchType
.
To configure the Similar Records component with queries, you use the following code:
<config> <searchableFields> <field name="firstName"/> <field name="lastName"/> </searchableFields>
<searchType>
<searchMatch> <fuzzy>true</fuzzy> <matchRuleSet>WS</matchRuleSet> </searchMatch>
</searchType>
<label existsFormat="{1} {2} {3}"> <column columnUid="firstName" /> <column columnUid="middleName"/> <column columnUid="lastName" /> </label> </config>
In the example, a fuzzy search is configured. If you want to configure an exact search, remove the following element from the code:
<fuzzy>true</fuzzy>

0 COMMENTS

We’d like to hear from you!