Have been been testing and playing with the embedded PowerApp (customised SharePoint forms) and cannot delete a date from the list after it has been saved. This problem has existed for some time with 'regular' PowerApps and even trying to Patch a null value doesn't seem to work.
I appreciate that many times you will not need a date to be deleted, however there are occasions when an incorrect record has been updated with a date and this needs to removed.
Does anyone have any solutions or recommendations to workaround this apparent limitation.
Solved! Go to Solution.
My post below used to be working fine, but it is not working anymore.
Here is the new solution that someone posted. https://powerusers.microsoft.com/t5/General-Discussion/Update-blank-Null-value-to-fields-Date-User-C...
Don't follow the direct below.
If you haven't figure it out. Here is the solution for you.
Update the Default Value and On change properties as below. It works well. Hope it helps you.
In the PowerApp,
Date picker Name : dDue
Create a Variable: vDate
|Default Value||If(vDate="Empty",Blank(), If(vDate="NotEmpty", dDue.SelectedDate, Parent.Default ))|
|On Change||If(IsBlank(dDue), Set(vDate, "Empty"), Set(vDate, "NotEmpty"))|
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.