Using a selection formula in a directory catalog configuration document
The Selection Formula field replaces the replication setting Receive only a subset of the documents - Documents that meet a selection formula used in other databases. Keep in mind that a selection formula applies to all the aggregated directories, so the formula should be valid for all of them.
About this task
Note that you cannot use a selection formula to aggregate documents that are never aggregated into a directory catalog. For example, you cannot use a selection formula to aggregate Server Configuration documents or Server Connection documents.
For more information on selection formulas, see HCL Notes® Help.
Procedure
Example
For example, to aggregate only Person documents with a value of "Atlanta" in the Location field, aggregate all Group documents, and exclude all other documents, use the following selection formula:
SELECT (Form = "Person" & Location = "Atlanta") | (Form = "Group")
Or to aggregate only Person documents for people assigned to a specific mail server, use a selection formula such as:
SELECT (Form = "Person" & MailServer = "MailServer1")
Using a selection formula in combination with the Group types option
About this task
The Group types field in a directory catalog configuration document controls the types of groups that the Dircat task aggregates into a directory catalog.
Procedure
Example
For example, to aggregate only Person documents with a Location of Atlanta, and only Mail and Multipurpose groups:
- Use this selection formula:
SELECT (Form = "Person" & Location = "Atlanta") | (Form = "Group")
- Select the Group Type option Mail and Multi-purpose.
A selection formula can select only the types of groups indicated by the Group types option.
Using a selection formula in combination with the Include Servers option
About this task
The Include Servers field in a directory catalog configuration document for an extended directory catalog controls whether the Dircat task aggregate Server documents.