Open topic with navigation

# 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 Content Component uses the `ValueRestriction` and ignores RestrictedValues.

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

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm