web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to click on "Fo...
Power Apps
Unanswered

Unable to click on "Format Text" for below Patch formula.

(0) ShareShare
ReportReport
Posted on by 6

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: "." }},

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Punchy ,

     

    Try the formula below:

     

    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':
     {
     Claims: "i:0#.f|membership|" & Lower(User().Email),
     Department: "",
     DisplayName: User().FullName,
     Email: User().Email,
     JobTitle: "",
     Picture: ""
     },
     'Requested To':
     {
     Claims: "i:0#.f|membership|" & Lower(_selectedApprover.Mail),
     Department: "",
     DisplayName: _selectedApprover.Displayname,
     Email: _selectedApprover.Mail
     JobTitle: "",
     Picture: ""
     }
     }
    )

     

     

    Best regards,

  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 2 on at

    Hi @Punchy ,

     

    Due to a lack of context, can you please share a screenshot of the situation where you get stuck?

  • Punchy Profile Picture
    6 on at

    Hi BCBuizer, Thanks for helping me on this. Please find below screenshot.

     

    Thanks,Screenshot 1.jpgScreenshot 2.jpg

  • Punchy Profile Picture
    6 on at

    Hi Jeffer,

     

    Do I Have to pass this without re-arranging on anything? 

     

    The Format Text still does not appear for my click. 😭

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Punchy ,

     

    Can you see any errors now? Move mouse over the red waves, error message will tell you what's the issue.

     

    Best regards,

  • Punchy Profile Picture
    6 on at

    HI Jefferni,

     

    Still does not work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard