Hi @rishimarde ,
Select the Combo Box Control and try to apply the following formula on its DefaultSelectedItems property as:
If(!IsBlank(DataCardValue1.Text),
{
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & First(Office365Users.SearchUserV2({searchTerm:DataCardValue1.Text}).value).Mail,
Department: "",
DisplayName: First(Office365Users.SearchUserV2({searchTerm:DataCardValue1.Text}).value).DisplayName,
Email: First(Office365Users.SearchUserV2({searchTerm:DataCardValue1.Text}).value).Mail,
JobTitle: "",
Picture: ""
}
)
The following formula should work for your app:
If(!IsBlank(Label3.Text),
{
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & First('Office365-Benutzer'.SearchUserV2({searchTerm:Label3.Text}).value).Mail,
Department: "",
DisplayName: First('Office365-Benutzer'.SearchUserV2({searchTerm:Label3.Text}).value).DisplayName,
Email: First('Office365-Benutzer'.SearchUserV2({searchTerm:Label3.Text}).value).Mail,
JobTitle: "",
Picture: ""
}
)
Best Regards,
Charlie Choi