Hi There,
I am a Power App new User which none of IT background. I followed the Leave Request Creation by using power app via youtube and I got stuck on this step. The Format Text is not allowed for a click. Could anyone please help me on this?
Thank you.
Patch('Leave Applied by Users',Defaults('Leave Applied by Users'),
{'Leave Type':Gallery7.Selected.'Leave Type'.Value},
{'From Date':StartDate.SelectedDate},
{'To Date':EndDate.SelectedDate},
{'Leave Title':TxtLeaveTitle.Text},
{'Leave Description':LeaveDetail.Text},
{'Requested By':
{ '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Lower(User().Email),
Department: "",
DisplayName: User().FullName,
Email: User().Email,
'Job Title': ".",
Picture: "." }},
{'Requested To':
{ '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & Lower(_selectedApprover.Mail),
Department: "",
DisplayName: _selectedApprover.Displayname,
Email: _
selectedApprover.Mail }}
JobTitle: ".",
Picture: "." }},