cancel
Showing results for 
Search instead for 
Did you mean: 
allafridman
Nintex Newbie

List view for Nintex Forms, Caml Query filter

Cannot find any examples, but I am not able to use CAML custom query to filter List view on a Nintex Form.

I use similar to this

<Query>

   <Where>

      <Contains>

         <FieldRef Name='Department_x0020_Code' />

         <Value Type='Text'>Information Technology</Value>

      </Contains>

   </Where>

</Query>

But no luck.

Reply
6 Replies
Not applicable

Re: List view for Nintex Forms, Caml Query filter

You need to only include the tags within the Where clause so try:

      <Contains>

         <FieldRef Name='Department_x0020_Code' />

         <Value Type='Text'>Information Technology</Value>

      </Contains>

I had the same issue.  Including <Query> and <Where> will raise error.

Reply
fhunth
Nintex Newbie

Re: List view for Nintex Forms, Caml Query filter

Try this

  <Contains>

         <FieldRef Name='Department_x0020_Code' />

         <Value Type='Text'>Information Technology</Value>

      </Contains>

Reply
allafridman
Nintex Newbie

Re: List view for Nintex Forms, Caml Query filter

Thank you both, Chris and Fernando, that worked perfectly!

Reply
Not applicable

Re: List view for Nintex Forms, Caml Query filter

Hello,

Can you please help me pass on the control's value to this CAML query, instead of hard coded value.

Example:

<Contains>

         <FieldRef Name='Department_x0020_Code' />

         <Value Type='Text'>--user selected value from the control--</Value>

      </Contains>

0 Kudos
Reply
sangadji
Nintex Newbie

Re: List view for Nintex Forms, Caml Query filter

Hi Ankita,

Did you ever figure this out? I'm trying to filter using control value in a CAML Query.

Thanks,

Saeid

0 Kudos
Reply
Not applicable

Re: List view for Nintex Forms, Caml Query filter

Looking for the same.

0 Kudos
Reply