IDOL Server 12.12

# RestrictedValues

Set `RestrictedValues` to `True` to restrict any tag values for fields in both the FieldText and FieldName parameters to only those values that satisfy the FieldText.

By default, GetQueryTagValues returns tag values for the specified FieldName fields, in any documents that match the FieldText. If FieldText and FieldName refer to the same field, you can limit the returned tags to those that match the FieldText by setting `RestrictedValues` to `True`.

For example, if you set FieldName to `TO`, and you set the following FieldText expression:

    MATCH{Alice,Bob,Clare,Daniel,Emma}:FROM AND WILD{Fra*}:TO

The GetQueryTagValues action finds documents that match this FieldText expression (that is, documents that contain matching values in the `TO` and `FROM` fields), and returns only values of the `TO` field that match the Wildcard string `Fra*` (such as Frank, Francesca, and so on).

NOTE: If you want to apply a filter string to the values without restricting the overall result set, you can use ValueRestriction. ValueRestriction also allows you to apply a filter to all the returned fields without specifying them all individually in your FieldText expression.

If you set `RestrictedValues` to `True` and also set ValueRestriction, IDOL Server uses the `ValueRestriction` and ignores RestrictedValues.

Actions: | GetQueryTagValues
Type: | Boolean
Default: | False
Example: | `RestrictedValues=True`
See Also: | FieldName FieldText

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 12.12

Topic Title: RestrictedValues