This is the second part of the last video on how to build a leave request application. In this video, I covered a few things like showing the request history in a gallery, auto-populating the logged-in user's details, navigating to a success screen when a request is successfully submitted. etc
Below is the formula used in the video to auto-populate the Person field:
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
Email: MyProfile.Mail,
Claims: "i:0#.f|membership|" & MyProfile.Mail,
DisplayName: MyProfile.DisplayName,
JobTitle: MyProfile.JobTitle,
Department: MyProfile.Department,
Picture: User().Image
}
29 окт 2024