cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Nintex Form List View with variable CAML filtering

When you create a List View in Nintex Forms it has a section for filtering, and within that section is the ability to filter by a control's value. This is useful since if you had a textbox and named it you could filter a column in the list with whatever is in that textbox.

The downside is that the option only allows for 1 field to be filtered so I'm resorting to CAML to filter by 2-3 columns. What is the syntax for entering a variable name into this CAML dialog? The variable / named control is a part of the form and not promoted since it can change frequently and is just used for lookups. The Insert Reference button along the top only gives properties of the item, not variable or named controls within the form itself.

Syntax for variables and named controls would be appreciated. In the below example I'm filtering by a column called Timing and I've filtered it fine when I just put in the raw text of an example. For now I just need to know what goes in place of the {insert variable name here} in place of raw text to have it point to a variable or named control.

caml_varialbe_nintex_Form

Labels: (2)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Nintex Form List View with variable CAML filtering

I get what you mean as when you add a variable in workflow you get {WorkflowVariable:xxx} or something similar.  I had a quick look in forms and you don't get anything like that.  I did inspect the element and I did find this:

{Control:70131594-990e-40bd-a80e-8b976dc1ba96}

not sure that is going to be any help to you here at all though.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Nintex Form List View with variable CAML filtering

Cassy, No luck there. I updated the CAML reference to point to the textbox's control (I know it's correct since it auto-changes it to the controls name, 't1', the next time you edit the CAML filter), but it does not filter correctly. I even tried to create an un-named calculated value that just equaled t1 and insert that control in there so it would not auto-change anything and it still does not filter correctly.

I make sure to change the reference to just raw text to ensure I'm filtering correctly and it works correctly that way, but never when I try to insert this variable reference in this other manner.

nintex caml variable 2

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Nintex Form List View with variable CAML filtering

Did you ever find a solution for this? I'm in the same situation of needing to dynamically build the CAML query based off controls on the form. Is there any way to do this?




SharePoint 2013 On-Prem | Nintex Forms & Workflow Enterprise
0 Kudos
Accept as Solution Reply