LookupMultiField not working

Apr 29, 2015 at 9:32 PM
I'm running this code in SharePoint Online and I keep getting the following error...
Uncaught TypeError: Cannot read property 'create' of undefined camjs.js line 860
Here is the part that is throwing the error...
arrayOfExpressions.push(CamlBuilder.Expression().LookupMultiField("Process_x0020_Owner_x0020_Title").IncludesSuchItemThat().ValueAsText(data.d.results[i].Title));
May 11, 2015 at 3:00 PM
Edited May 11, 2015 at 3:01 PM
Hello,

You have a small mistake in your expression.

Instead of
ValueAsText(<value>)
the syntax is
ValueAsText().EqualTo(<value>)