Utilisation d'une formule de sélection dans un document de configuration de catalogue d'annuaire
Le champ Formule de sélection remplace le paramètre de réplication Recevoir uniquement un sous-ensemble de documents : documents répondant à une formule de sélection utilisée dans d'autres bases de données. Gardez à l’esprit qu’une formule de sélection s’applique à tous les répertoires agrégés, la formule doit donc être valable pour tous.
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.