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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to blank an option...
Power Apps
Answered

How to blank an option set field in CDS with Patch()

(0) ShareShare
ReportReport
Posted on by 1,594

Hi all,

Anyone knows how to blank an Option Set field (which is not mandatory by the way) in CDS using the Patch() function from a Power Apps canvas app?

I've already tried this, with no luck:

Patch(<entity>, <item>, {<optionset>: Blank()})

 

Thanks...

Categories:
I have the same question (0)
  • R3dKap Profile Picture
    1,594 on at

    Seriously? No one knows how to do this? There's gotta be at least one person here that faced this once in his life! 😁

  • Verified answer
    R3dKap Profile Picture
    1,594 on at

    Ok, thanks to Hardit Bhatia, the solution is :

    • using the Patch() as mentionned in my initial post
    • enabling the Formula-level error management in the advanced settings of the application

    Thanks Hardit for the tip about this setting which made it all work!

  • Community Power Platform Member Profile Picture
    on at

    can you be more specific?
    Does enabling formula-level error management" allow you to patch =Blank() ?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard