Search configurations are used in Smart ID Identity Manager to search in data pools and identity templates, and to set up search filters and results. Search dialogs can also be integrated into processes, or be shown in batch orders and related object field. Permissions need to be adapted to the intended use and roles. Searches can be done on multiple levels, and for example show card data for all employee cards of a certain employee.
This article describes how to create or edit a search configuration in Identity Manager Admin.
Prerequisites
Expand |
---|
|
Before setting up the search configuration, make sure that the following things apply: - Installed Identity Manager
- Available identity template or data pool as reference for the search configuration
- If needed: Available report configuration, to allow users to export the search results to a pdf report
|
Step-by-step instruction
Expand |
---|
title | Log in to Identity Manager Admin |
---|
|
- Log in to Identity Manager Admin as an admin user.
|
Expand |
---|
title | Add search configuration |
---|
|
- In Identity Manager Admin, go to Home > Search Configurations.
To add a new search configuration: Click +New. Enter a Name and Select a Reference, either a core template or a data pool. Click Save + Edit.
- Optional: add Object picture
- The object picture of the Search Configuration is used in the related objects view in Identity Manager.
If you do not upload a picture, the standard icon of the result object will be used, for example, a card or a meeting icon.
- The Search Reference Type shows CORE_TEMPLATE or DATAPOOL, depending on what you selected in Reference in step 1b.
- The Search Reference Name shows the name of the core template or the name of the data pool of the CoreObjects that are searched, depending on what you selected in Reference in step 1b.
- If you check Maximum number of search results and then enter a number, the search will never return more results than this value. If there are more results, the user gets an error message and has the possibility to modify the filters. Use this only for views where the user has the possibility to modify the filters.
- In the General tab, the fields of the selected data pool or core template are listed under Search Criteria. The search dialog as it will roughly appear in Identity Manager is shown on the right, under Extended Search. On the left of it is the search mask, on the right the search results.
- Click Save.
- To instead edit an existing search configuration, double-click on its name.
|
Expand |
---|
title | Set multi-level search |
---|
|
Search over multiple levels means that a search can be done over related data pools or core templates. For example, you can search for all Employee cards
that are related to an Employee
. This is done using ObjectRelations from the given CoreObject to the related CoreObject.
To set multi-level search:
Follow the steps in "Add search configuration" above.Before you click Save, check Search over multiple levels.Set Search Depth. Depth means the maximum number of ObjectRelations to be searched for. Search Depth = 1 means that data from directly related objects are shown in the search results. The default depth is 3 and search depth 3 also includes objects from search depth 2 and search depth 1. You can configure the default depth in PermissionAwareSearchConfigManager.
Note |
---|
Search depth values greater than 5 trigger a warning message, regarding possible performance issues. |
Select Result Reference Type: core template or data pool, and select a Result Reference Name, which defines the name of the core template or data pool that are searched at depth zero up to the specified search depth. The selected data pool or core template with its text fields are shown in the Search criteria field.
Set Object Relation Types:- All
If All is checked, it includes all current and future object relation types not available at the time of configuration, but available at the time of search. Also, it disables Type Selection. All is checked by default. - Type Selection
Only enabled when All is not checked. If Type Selection is checked, a pop-up is shown with a list of object relation types to select. The pop-up shows already stored, and therefore selected, types in alphabetical order at the top of the list followed by additionally available types not yet selected, also in alphabetical order.
Click Save to save your settings. Expand |
---|
|
To add a search criterion to the search filter: - On the General tab, drag-and-drop the search criterion, for example Birth date, from Search criteria to the left field in Search.
- Select an initial search condition, for example
begins with or greater or equal . - Optionally, enter an initial search value, for example
Jun 7, 2017 . - You can combine two search filters, see "Combine two search filters" below.
- You can also use expressions as field values, see "Add field values with expressions" below.
- To change the search properties of the field, click Edit (pen symbol).
- In Change search field properties, check Hidden, to hide the criterion from the search mask. A hidden field needs an initial search value. To use a variable value from another data pool in the search mask, select the data pool in Selection list and select a Value. Click OK.
- Repeat steps 1-5 for all search criteria needed in the search mask.
- Click Save to save your settings.
|
Expand |
---|
title | Combine two search filters |
---|
|
Logical AND
Use " _AND