FiltersUsing the filters, you can define criteria against which specific entries can be searched in the LDAP database. One filter consists of one or more search criteria. A search criterion contains the query for an LDAP attribute. Example: sn=% The sn attribute stands for surname. The percent sign (%) is a place holder for the user entry. Rules for defining filters: - Multiple criteria can be connected using logical AND (&) and/or OR (|) operators.
- The logical operators "&" and "|" are placed before the search criteria.
- The search criterion must be placed in brackets and the whole expression must be terminated with a bracket again.
- AND and OR operations can be combined.
Examples: AND operation | (& (givenName=%) (mail=%)) Searches for entries in which the first name and mail address begin with the characters entered by the user. | OR operation | (| (displayName=%) (sn=%)) Searches for entries in which the display name or surname begins with the characters entered by the user. | Combined operation | (|(& (displayName=%) (mail=%))(& (sn=%) (mail=%))) Searches for entries in which the display name and mail address or the surname and mail address begin with the characters entered by the user. |
Additional filtersYou can set two additional filters that will be offered to the user in order to specify the search more detailed.  - In the additional name fields enter the attribute name.
- In the corresponding value fields enter the attribute values.
Example: Additional filter #1 name | City | Additional filter #1 value | (|(l=%)) | Additional filter #2 name | Street | Additional filter #2 value | (|(street=%)) |
In addition to the fields defined in the Name filter parameter, the City and the Street fields are provided to the user. The user input for City is passed to the LDAP server in the I attribute, the user input for Street is passed in the street attribute. If you do not want to offer the additional search fields, just remove the filter#1 and filter#2 name. Then you will not see them in your handset search window |
Display formatIn the Display format field you can stipulate how the search result is to be displayed on the handset. For the attribute values to be shown for the required attribute, the attribute name must be preceded by a percent sign (%). Example: Data of a directory entry on the LDAP server: displayName: | Peter Black | givenName: | Peter | sn: | Black | telphoneNumber: | 0891234567890 | mobile: | 012398765432 |
Attribute definition in the Web configurator: Display format | %sn, %givenName; %telephoneNumber/%mobile |
The entry is shown on the handset as follows: Black, Peter; 0891234567890/012398765432 Enable list mode- Define what should be initially shown, when the user opens the LDAP directory.
Activated | A list of all entries of the LDAP directory is shown. | Not activated | An editor is opened first that allows the user to select a specific search area within the LDAP database and thereby to reduce the number of entries. |

Filter |
|
---|
Name filter | The name filter decides which attribute is used for the search.
Example: (displayName=%). The percent sign (%) is replaced by the name or part of the name entered by the user. If a user enters the letter "A", for example, all entries in which the attribute displayName begins with "A" are searched for in the LDAP database. If the user then enters a "b", entries are searched in which the displayName begins with "Ab". | Number filter | The number filter stipulates the criteria for the automatic completion of telephone numbers.
Example: (|(telephoneNumber=%)(mobile=%)). The percent sign (%) is then replaced by the part of the telephone number entered by the user. When dialling, if a user enters the numbers "123", for example, all telephone numbers that begin with "123" are searched for in the LDAP database. The telephone number is completed=with the addition of information from the database. | Additional filter #1 name | Enter the name of an additional attribute that will be offered to the user in order to specify the search more detailed. | Additional filter #1 value | Enter the value for the attribute entered in the corresponding name field. | Additional filter #2 name | Enter the name of an additional attribute that will be offered to the user in order to specify the search more detailed. | Additional filter #2 value | Enter the value for the attribute entered in the corresponding name field. | Display format | In this field you can stipulate how the search result is to be displayed on the handset. Enter combinations of different name and number attributes and special characters. You can select common formats from the attributes that are listed in the Configuration of directory items section of the page. | Max. number of search results | Enter the maximum number of search results that is to be returned by one search operation. |
|