AnsweredAssumed Answered

HCP custom metadata query with multiple elements

Question asked by srinivas M on Oct 28, 2015
Latest reply on Oct 30, 2015 by Doug Toppin

Hi,

 

I am using the following xml structure for metadata query:

 

<queryRequest><object><query>customMetadataContent: "test" </query></object></queryRequest>

 

With this i can able to query and get the list of files which matches the criteria.

But i want to include multiple search elements so that i can retrieve file which meets search element values.

 

My metadata file is as follows:

<metapairs version="600">

     <meta-Author>TestAuthor</meta-Author>

     <meta-FileTime>2014-10-26</meta-FileTime>

     <meta-TimeVal>2014-10-28</meta-TimeVal>

     <meta-Customer>test</meta-Customer>

</metapairs>

 

and i want to filter the files which matches both meta-Author and meta-Customer values.

 

But i am not getting how to frame Query request including multiple search values.

 

Thanks.

Outcomes