Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 2000_concepts:0600_data_retrieval:0400_form_driven_queries [2022/08/24 06:53] – [Searching for Data using Forms] administrator | 2000_concepts:0600_data_retrieval:0400_form_driven_queries [2026/08/13 07:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | [< | + | {{tag> |
| ====== Searching for Data using Forms ====== | ====== Searching for Data using Forms ====== | ||
| - | Another way of retrieving data in the Operation Mode is using forms to search for business objects (see [[2000_concepts: | + | Another way of retrieving data in the Operation Mode is using forms to search for business objects (see [[2000_concepts: |
| - | For example, let’s say we have a '' | + | For example, let's say we have a '' |
| It is also possible for a more advanced user to enter not only simple values into the fields of a form but also expressions. The following table lists all possible keywords that can be entered into a field: | It is also possible for a more advanced user to enter not only simple values into the fields of a form but also expressions. The following table lists all possible keywords that can be entered into a field: | ||
| - | ^Keyword | + | ^Keyword |
| - | |Literal value (string, number, date, timestamp)|For Plain Text attributes //**Aware IM**// will search for objects the attribute values of which contain the specified value; for all other attribute types – that are equal to the specified value| | + | |Literal value (string, number, date, timestamp)|For Plain Text attributes //**AwareIM**// will search for objects the attribute values of which contain the specified value; for all other attribute types – that are equal to the specified value| |
| |''<'' | |''<'' | ||
| |''>'' | |''>'' | ||
| Line 15: | Line 15: | ||
| |''> | |''> | ||
| |''<>'' | |''<>'' | ||
| - | |'' | + | |'' |
| |'' | |'' | ||
| - | |'' | + | |'' |
| |'' | |'' | ||
| |'' | |'' | ||
| Line 23: | Line 23: | ||
| |'' | |'' | ||
| - | <note>If the user enters data into the field of a [[2000_concepts: | + | <alert type=" |
| + | **note** | ||
| - | To configure an operation that will invoke a search using forms as explained above the configurator has to tick the “Using form” checkbox on the query property editor – see [[2500_config_apps:1100_add_edit_queries:0000_start|Adding/ | + | |
| - | <note>When you use form-based queries it is also possible to specify query conditions when defining a query. These conditions will be used as //extra// conditions and will be automatically added to the query after the user enters data into the query form.</note> | + | To configure an operation that will invoke a search using forms as explained above the configurator has to tick the “Using form” checkbox on the query property editor – see [[2500_config_apps: |
| + | |||
| + | <alert type=" | ||
| + | **note** | ||
| + | |||
| + | When you use form-based queries it is also possible to specify query conditions when defining a query. These conditions will be used as //extra// conditions and will be automatically added to the query after the user enters data into the query form.</alert> | ||
| Advantages and disadvantages of using form-based search versus defining queries that require user input. | Advantages and disadvantages of using form-based search versus defining queries that require user input. | ||
| Line 33: | Line 39: | ||
| If you want users to be able to enter their search criteria dynamically at run time, you have two configuration options at your disposal – configure [[2000_concepts: | If you want users to be able to enter their search criteria dynamically at run time, you have two configuration options at your disposal – configure [[2000_concepts: | ||
| - | * Using forms often requires less configuration effort, as you don’t need to configure a query (in some cases, however, you may want to configure a special form) | + | * Using forms often requires less configuration effort, as you don't need to configure a query (in some cases, however, you may want to configure a special form) |
| * Using forms may be more flexible as it offers a large number of attributes to the user to search by. However, it may be confusing to some users as some of the attributes may not be relevant to a particular search. | * Using forms may be more flexible as it offers a large number of attributes to the user to search by. However, it may be confusing to some users as some of the attributes may not be relevant to a particular search. | ||
| * Forms offers the power of expressions to advanced users, however, for users who do not want or cannot use expressions it is better to offer a simple way of entering a value only. | * Forms offers the power of expressions to advanced users, however, for users who do not want or cannot use expressions it is better to offer a simple way of entering a value only. | ||