cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate III
Advocate III

Delete date value SharePoint List

Hello,

 

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.

 

cheers Richard

11 REPLIES 11

Thank you, it works.

 

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 ValueIf(vDate="Empty",Blank(), If(vDate="NotEmpty", dDue.SelectedDate, Parent.Default ))
On ChangeIf(IsBlank(dDue), Set(vDate, "Empty"), Set(vDate, "NotEmpty"))

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

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

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 (7,559)