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

update date field with null into CRM datasource using patch request

Hi Expertise, I am unable to update the date field to null into CRM using patch request. I tried Blank(), DateValue(Blank()),DateValue("01/01/1753")(min date for CRM date field) but unable to get this done. Is it possible to update the date field to null into CRM? or is there any way to update the date field to null fro CRM data source? Thanks in advance
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate I
Advocate I

Re: update date field with null into CRM datasource using patch request

I able to update the null date by passing Blank() in patch request
formula : 
new_testdate: If(
IsBlank(DataCardValue18.SelectedDate),
Blank(),
DataCardValue18.SelectedDate
)
for this we have to make some changes in App setting

set null.png
If this set as off  then we can not update date field to null

Hope this helps

 

Thanks

View solution in original post

1 REPLY 1
Highlighted
Advocate I
Advocate I

Re: update date field with null into CRM datasource using patch request

I able to update the null date by passing Blank() in patch request
formula : 
new_testdate: If(
IsBlank(DataCardValue18.SelectedDate),
Blank(),
DataCardValue18.SelectedDate
)
for this we have to make some changes in App setting

set null.png
If this set as off  then we can not update date field to null

Hope this helps

 

Thanks

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,453)