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

ListView control , caml query issue

Jump to solution

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>
Labels: (1)
Tags (1)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: ListView control , caml query issue

Jump to solution

how did you build this snippet/formula?

 

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

0 Kudos
Reply
Workflow Hero

Re: ListView control , caml query issue

Jump to solution
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.
0 Kudos
Reply