AnsweredAssumed Answered

Set lookup source view dynamically

Question asked by apalazon on Feb 17, 2017
Latest reply on Feb 17, 2017 by apalazon

Hi,

 

I have a lookup control inside a Nintex Form.

 

I want to use one source view or another depending on whether or not the current user belongs to a group.

 

So that some users will be able to chose some elements, and others won't.

 

I went to the lookup configuration, source view, and I set this formula: 

 

if(fn-IsMemberOfGroup("myGroup"),"View1","View2")

 

But it is not working, the lookup control gets the default view. I also tried to remove the double quotes from the view names but it didn't work.

 

Any idea?

 

Thanks in advance.

Outcomes