Expand my Community achievements bar.

SOLVED

query builder

Avatar

Level 4

Query builder to have one property but two values , need to get result if both values are present to a node, used and operation but it's not working.

1 Accepted Solution

Avatar

Correct answer by
Level 8

Hi @Keerthi0555 

 

Are you looking to perform this on a multi-valued property where you want to get the nodes with multiple values to match ("A" and "B" and "C"):

 

You can do something like below-

http://localhost:4502/bin/querybuilder.json?property=jcr%3atitle&property.and=true&property.1_value=...

 

Also attached one example using querybuilder.

narendragandhi_0-1711390950304.png

 

Hope this helps. Let me know for any additional questions.

 

Thanks

Narendra

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

Hi @Keerthi0555 

 

Are you looking to perform this on a multi-valued property where you want to get the nodes with multiple values to match ("A" and "B" and "C"):

 

You can do something like below-

http://localhost:4502/bin/querybuilder.json?property=jcr%3atitle&property.and=true&property.1_value=...

 

Also attached one example using querybuilder.

narendragandhi_0-1711390950304.png

 

Hope this helps. Let me know for any additional questions.

 

Thanks

Narendra