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.
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.
@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.
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights