cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Level 10

BUG: Patch of Blank() will not work when playing app

Data source: Azure SQL Database

Create a record in a table with a nullable int type column, set its value to any integer.

Create a button in PowerApps to set the value to Blank().

It will correctly set the value to NULL when in the PowerApps editor, but when the app is published and played directly in the browser the value will not be set to NULL.

 

3 REPLIES 3
Highlighted
Community Support Team
Community Support Team

Re: BUG: Patch of Blank() will not work when playing app

@Meneghino,

 

I think patch NULL should be not available at the current time.

The team are working on this as this is high requested.

Appreciated your patience.

 

Sincerely,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AtlantisFury
Level: Powered On

Re: BUG: Patch of Blank() will not work when playing app

I am also trying to Patch a NULL value using Blank() with Salesforce as my data connection and it doesn't work.

JamieReis
Level: Powered On

Re: BUG: Patch of Blank() will not work when playing app

@v-micsh-msft Any ETA? Can you link us to the idea?

 

@Meneghino & @AtlantisFury As a longwinded work around, you guys can move the item that you want to "NULL a collumn out for" into a temporary collection, patch a blank() into that column, and then patch that record back into your destination.

 

You just need to make sure that this isn't going to present a metadata issue or an issue with one of your keys.

Since (if using SQL Server for example,) you don't have 'on delete' triggers, you may have to preserve keys and apply them elsewhere to maintain referential integrity.

I.e., obviously think about the rest of your application(s) before you use this method.

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 56 members 4,391 guests
Please welcome our newest community members: