Announcements
Hi,
I have ComboBox with items from office365 users connector and collection with a few items (MailNickname). I try to set default items from this collection but ComboBox returns me items called [object Object]
My DefaultSelectedItems Property: ForAll(Logins,Office365Users.SearchUser({searchTerm:Result}))
What am i do wrong ?
Thanks
The other day I helped someone with that.
I did something like this:
ForAll(Logins;
ClearCollect(ColDefaults;
{ User: { DisplayName: UtilizadoresdoOffice365.UserProfile(Email).DisplayName; Claims: "i:0#.f|membership|" & Lower(Email); UserPrincipalName: UtilizadoresdoOffice365.UserProfile(Email).UserPrincipalName } }
)
So, create a subcolection with that or when tou create your Collection "Loggins" create with that field and, in DefaultSeclectedItens write:
ForAll(ColDefaults; User)
If you need additional help please tag me in your reply and please like my reply.If my reply provided you with a solution, pleased mark it as a solution ✔️!Best regards,Gonçalo NogueiraCheck my LinkedIn!Check my User Group (pt-PT)!Last Post on CommunityMy website!
I am afraid that i dont understand it 🙂
Show me how you create your Logins collection.
Collect(Logins,Split(Users.Text,";"))
And if i try do that
I have error "This function cannot be invoked within ForAll"
Ok sorry, a replace ClearCollect to Collect... and it's ok. Your solution works but i don't use in subcollection this: "Claims: "i:0#.f|membership|" & Lower(Email);" What it doing ?
Do you have the Office365Users Connector??Plus, you MUST check the names and the connectors.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 494
WarrenBelz 352 Most Valuable Professional
11manish 323