1.DefaultSelectedItems=Office365ユーザー.MyProfile()
2.Automatically get the current user and click Save.
3.Failed to save user information.
QA:How do I save the current user to the User and Group fields in the list?
Solved! Go to Solution.
Hi @奔跑吧蜗牛c
Looks like you are using the Office365Users connector to display person.
Set the Items property of the Person Combo box to
Office365Users.SearchUser({searchTerm: ""})
Set the DefaultSelectedItems property to
Office365Users.MyProfile()
Set the Update property of Card to
{
Claims: "i:0#.f|membership|" & AssignedToCombo.Selected.Mail,
Department: "",
DisplayName: AssignedToCombo.Selected.DisplayName,
Email: AssignedToCombo.Selected.Mail,
JobTitle: "",
Picture: ""
}
Reference
Thanks,
Stalin - Learn To Illuminate
Hi @奔跑吧蜗牛c
Looks like you are using the Office365Users connector to display person.
Set the Items property of the Person Combo box to
Office365Users.SearchUser({searchTerm: ""})
Set the DefaultSelectedItems property to
Office365Users.MyProfile()
Set the Update property of Card to
{
Claims: "i:0#.f|membership|" & AssignedToCombo.Selected.Mail,
Department: "",
DisplayName: AssignedToCombo.Selected.DisplayName,
Email: AssignedToCombo.Selected.Mail,
JobTitle: "",
Picture: ""
}
Reference
Thanks,
Stalin - Learn To Illuminate
Thank you for your answer, the problem was solved.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
197 | |
47 | |
43 | |
42 | |
36 |
User | Count |
---|---|
284 | |
81 | |
80 | |
79 | |
71 |