Closed gilruben closed 3 years ago
A coworker of mine, @elopez89, figured this out. It works when I change the restriction to the code below.
{
't:Or': {
't:Contains': [
{
attributes: {
ContainmentMode: 'Prefixed',
ContainmentComparison: 'IgnoreCase'
},
't:FieldURI': {
attributes: {
FieldURI: 'item:Body'
}
},
't:Constant': {
attributes: {
Value: 'p6-'
}
}
},
{
attributes: {
ContainmentMode: 'Prefixed',
ContainmentComparison: 'IgnoreCase'
},
't:FieldURI': {
attributes: {
FieldURI: 'item:Subject'
}
},
't:Constant': {
attributes: {
Value: 'p6-'
}
}
}
]
}
}
Hi Everyone,
I'm try to execute the FindItem function with the arguments below. As you can see, I have an
Or
in the restriction and twoContains
search expressions inside of theOr
. The issue I'm having is that only the firstContains
is being respected. The other is ignored. Does anyone know why this is happening?