Using Search.Operator.EQUAL to Run Imaging Search from Java SDK Causes Error "Invalid operator used in search parameter"
(Doc ID 1540744.1)
Last updated on MAY 06, 2024
Applies to:
Oracle WebCenter Content: Imaging - Version 11.1.1.6.0 and laterInformation in this document applies to any platform.
Symptoms
An Imaging search is defined on a text field with the "Equals" operator, as seen in the screen shot below.
However, when using the Java SDK to call the search and using the Search.Operator.EQUAL, an error occurs stating "Invalid operator used in search parameter".
The code that calls the search is as follows:
SearchValue searchValue = new SearchValue(SearchValue.Type.TEXT, "My Search String");
SearchArgument searchArgument = new SearchArgument("TextField", searchValue);
searchArgument.setOperatorValue(Search.Operator.EQUAL);
Error in JDeveloper:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |