HI all, I have a combo box where I display the user name and email information from Office365Users. I have anther combo box which I display a list of Organizations. I have collection which I add the user name and email address from the user selected from the first combo box and the organization from the second combo box. Somehow it is not working. I can't see the information from the Organization.
First combo box: Items = Office365Users.SearchUser({searchTerm:cboxSearchUser.SearchText, top:10})
Second combo box: Items = Distinct('Organization Information', Organization).Result
Button to add both information to colection:
Collect(collectUsers, {Name: cboxSearchUser.Selected.DisplayName, Email: cboxSearchUser.Selected.Mail, AccessRight: cboxOrganization.SelectedItems})
Can someone please tell me what I am doing wrong?
Solved! Go to Solution.
Assuming you have multiple selections turned off for the comboboxes, try this:
Collect(collectUsers,
{
Name: cboxSearchUser.Selected.DisplayName,
Email: cboxSearchUser.Selected.Mail,
AccessRight: cboxOrganization.Selected.Result
}
)
Hope that helps,
Bryan
Assuming you have multiple selections turned off for the comboboxes, try this:
Collect(collectUsers,
{
Name: cboxSearchUser.Selected.DisplayName,
Email: cboxSearchUser.Selected.Mail,
AccessRight: cboxOrganization.Selected.Result
}
)
Hope that helps,
Bryan
Thanks!
Did it solve your issue? If so, please mark the post as "Accept as Solution" so others can benefit from it.
Thanks