Skip to main content
Nintex Community Menu Bar

ListView control , caml query issue

  • Apr 7, 2019 11:35 PM UTC
  • 2 replies
  • 23 views
  • Translate All

Forum|alt.badge.img+10

I am using the function fn-userProfilelookup in caml query for the list view control and it is not geting any value it seems, i am not getting any records. The function works in calculated value control, the query works if I set hardcoded value. Also if i use getQueryString function the query works.

 

Is fn-userprofilelookup supported in caml query.

 

<And>
 <Eq>
<FieldRef Name='Status' />
<Value Type='Text'>Approved</Value>
</Eq>
<Eq>
<FieldRef Name='ItemID' />
<Value Type='Text'>fn-userProfileLookup(Current User,"ItemId")</Value>
</Eq>
</And>

2 replies

Forum|alt.badge.img+14
  • Scholar
  • Apr 8, 2019 7:26 AM UTC

how did you build this snippet/formula?

 

userProfileLookup() is a runtime function, there is not any equivalent inline function like fn-userProfileLookup() 

Translate

Forum|alt.badge.img+10
  • Author
  • Apr 15, 2019 10:37 PM UTC
I was just trying to see if the functions works, finally end up loading the page again passing value in the url and GetQueryString function to get the value into the caml query.
Translate