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.
User | Count |
---|---|
170 | |
94 | |
65 | |
64 | |
61 |
User | Count |
---|---|
226 | |
162 | |
93 | |
82 | |
81 |