IDOL Content Component 12.13

# FieldText

You must percent-encode all strings in `FieldText`.

You must distinguish punctuation in IDOL query syntax (such as commas and braces) from the same punctuation that might occur in strings. Use the following percent-encoding guidelines:

- percent-encode an ampersand (`&`) with `%26`

- percent-encode a backslash (`\`) with `%5C`

- percent-encode a comma (`,`) with `%2C`

- percent-encode a percentage sign (`%`) with `%25`

- To distinguish between braces in strings from query syntax braces, percent-encode left (`{`) and right (`}`) braces twice, with `%257B` and `%257D`.

- To distinguish between commas in strings from separator commas, percent-encode commas within strings twice (`%252C)`.

- Leave commas that separate multiple items, and braces that start and end lists, as regular punctuation. There must be no spaces before or after these commas.

Use the `STRING` field specifier to search for your entire query string, including the nonalphanumeric characters, in the appropriate field in the IDOL Content component.

## Examples

To search for Auto*:

    action=Query&Text=Auto&FieldText=STRING{Auto*}:DRECONTENT

To search for yahoo!:

    action=Query&Text=yahoo!&FieldText=STRING{yahoo!}:DRECONTENT

To search for AT&T:

    action=Query&Text=AT%26T&FieldText=STRING{AT%26T}:DRECONTENT

To search for "r-t"

    action=Query&Text=r-t&FieldText=STRING{r-t}:DRECONTENT

To search for "eat, drink and be merry"

    action=Query&Text=eat, drink and be merry&FieldText=STRING{eat%2c drink and be merry}:DRECONTENT

To search for "politics [and] their effects"

    action=Query&Text=politics and their effects&FieldText=STRING{politics [and] their effects}:DRECONTENT

To search for "*NSYNC"

    action=Query&Text=*NSYNC&IgnoreSpecials=True

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 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 IDOL Content Component 12.13

Topic Title: FieldText