cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

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

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...

1 ACCEPTED SOLUTION

Accepted Solutions

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!

View solution in original post

2 REPLIES 2
Super User
Super User

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

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!

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Check out the Power Apps Community Call for January 2021

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (9,227)