cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Query-Objects case insensitive

rzemmali
11-Garnet

Query-Objects case insensitive

Hello,

I need to make the query-object search case insensitive. According to the documentation, it is by default. But it my test it does not work. So I put the explicit parameter

 

<ie:param name="WHERE_CASE_SENSITIVITY" data="FALSE"/> 

but the case still sensitive.

Is there further parameters or changes needed?

 

Thank you.

2 REPLIES 2
d_graham
17-Peridot
(To:rzemmali)

Your webject syntax looks fine.

Did you try writing a QuerySpec? When you add a SearchCondition to a QuerySpec using the appendWhere() method you can add an additional boolean parameter on the end.
true = case sensitive, false = case insensitive.

I’ve used this many times and it’s always worked as advertised.

The issue was related to another functionnality. Now it works.

Thanks anyway.

Top Tags