Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Using "Patch" to update SP List with modern controls?

(1) ShareShare
ReportReport
Posted on by 105

I'm having problems using the Patch property on a "Modern Controls" button which I was hoping to update a Sharepoint List. If I use same process on the regular old style buttons, it does work. I was wondering if there was something I meant to be doing but missing? Here is a couple of screenshots as it will probably be able to explain it better than I could

 

Error I'm getting

 

f2_3-1684314537312.png

 

Modern Controls

f2_1-1684314444771.png

 

Regular old style

f2_2-1684314488947.png

 

Any ideas? I've only made a few very simple apps before so perhaps I'm just not experience enough and totally overlooked a simple fix.

  • Suggested answer
    esjimenezp Profile Picture
    485 on at
    Using "Patch" to update SP List with modern controls?
    Hi @f2,
     
     
    Kind regards 👋
  • f2 Profile Picture
    105 on at
    Re: Using "Patch" to update SP List with modern controls?

    Timl, that worked! Amazing, thanks for the support, I really appreciated it. I’ve watched a few videos on Modern Controls and they said it might not be ready for production so thought there might be something missing.

  • Verified answer
    timl Profile Picture
    34,963 Super User 2025 Season 1 on at
    Re: Using "Patch" to update SP List with modern controls?

    Hi @f2 

    With modern controls, you would retrieve the textbox contents via the Value property rather than the Text property (eg txtFirstname.Value).
    That would explain the error messages that you're seeing here.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard