3 Replies Latest reply on Jul 27, 2013 1:32 AM by karan131

    How to create the query with multiple node types

    nidleksrao

      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