Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

PerformFind With In Clause ??

$
0
0
If I wanted to use perform find to query for a list of criteria as an 'or'
or 'in', how do we do this in "inputFields"?

Also, I don't really know what noConditionFind means..seems to only come
into play for filter by date.

I tried suffixing the field with '_in', but that didn't seem to work.

For example:
Perform Find for product IDs: 101, 102, and 103

From Webtools 'run service':
inputFields={productId_in = 101, productId_in = 102, productId_in = 103}
noConditionFind=Y
Returns 932 items

inputFields={productId = 100}
noConditionFind=Y
Returns 932 item

inputFields={productId = 100}
noConditionFind=N
Returns 0 items

FYI... The performFind service seems to behave differently than however the
FindGeneric Webtools feature works as expected:
/webtools/control/FindGeneric?entityName=Product
Specify productId = 101
Returns 1 item

Any insight would be very helpful. Thanks.

Justin

Viewing all articles
Browse latest Browse all 5648

Trending Articles