Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

How to create the query with multiple node types

$
0
0

Hi,

 

I am having an issue in creating a query to search multiple node types.

 

The requirement is to query documents/pages of the type dam:Asset and cq:Page present under a path.

 

I tried the following code snippet with no luck .

 

path=/content

1_type=cq:Page

2_type=dam:Asset

property=jcr:content/metadata/@cq:tags

property.1_value=<tag Name>

 

I was able to write a query with single type. However i could not find any documents/ materials with multipe types as shown above.

 

Thanks in advance.

 

Regards

Sudhi


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>