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 / Patch Blank() not work...
Power Apps
Unanswered

Patch Blank() not working suddenly

(0) ShareShare
ReportReport
Posted on by 4

Hi fellows,

 

My colleague and I have been using Power Apps for over a year and we are very familier with Patch function and putting Blank() in SP List columns.

The code is just as simple as this:

    Patch(
    'SP List' ,
    LookUp('SP List',ID = 333),
        {
            Note:Blank()
        }
    );

 

we remember that we used to turn "Formula-Level Error Management" on in order to use Blank() in Patch().

JYKalpha_0-1669847168281.png

 

However, Today morning, we both found out our Blank() in Patch() function ain't working at all. After struggling hours we just found out that "Formula-level error Management" was turned off by itself!!!!

We've been using Blank() for a long time and had no issue and suddenly it just turned off!

 

I strongly believe this is a mistake caused by Power Apps editor develop team.

I hope this warning will save numerous developer's time to solve this issue.

 

Categories:
  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    @JYKalpha 
    What is the note field type? 
    why not use Note: ""

     Patch(
     'SP List' ,
     LookUp('SP List',ID = 333),
     {
     Note:""
     }
     );

     

  • WarrenBelz Profile Picture
    156,545 Most Valuable Professional on at

    Hi @JYKalpha ,

    Not sure if there is a question in there, but you are correct, you need Formula Level Error Management turned on to patch fields with blank values. I have not experienced this, so it would be interesting to know the trigger.

  • JYKalpha Profile Picture
    4 on at

    It's single string there.

     

    Yes we found using "" works.

    But this code is just an example. we use blank() in many other types of columns

    I believe many people tend to use Blank() instead of "" so they don't need to put manual values in different types of columns. such as choice and lookup columns.

  • JYKalpha Profile Picture
    4 on at

    I'm posting this for other developers to solve this issue quicker than we did.

    I do also want to know what was the trigger of this. haha

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    @JYKalpha 
    I have never experience this but interesting thanks for letting us know.

    Good day ....

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard