Hi Everyone,
if(
rimod1 = 2,
{cons!member1,cons!member2),{}
)
In the above code I try to get the value from 2 constant which contain group member, but I am getting value from member1 not from member2.
can anyone help me on this.
Discussion posts and replies are publicly visible
But then, this is what the value parameter of the field is used for.
This thread is intriguing. My current questions are:
If you are only displaying users read-only, why do you need to do it in a picker field (vs a text field)?
Does this not work for you?
a!pickerFieldUsers( label: "Users", readOnly: true, value:getdistinctusers({ cons!member1, cons!member2 }) )
Chris said:only displaying users read-only
OP never said this (or really anything like it) beyond perhaps some incorrect assumptions in earlier replies.
Refer to this comment, where they [eventually] clarified a bit,
minhajk0001 said:I am using a!pickerFieldUsers() in interface, where I am trying to get values from two constant which contains groups. I want to display all the value present in two groups and from that only user can select only one user.
My personal translation of this (going for what they mean, rather than their exact wording, that is) is something like the following:"I am using a!pickerFieldUsers(), and want to allow it to select from among 2 distinct groups that I'm referencing using two constants, to allow the form user to make a single selection."
To which the answer is (as i posted before), OP needs to create a designated Parent Group to contain both target groups in question, and refer to that one in the picker field.