Announcements
Date is already in DatePicker10 but clears it out on Save
Patch(SPList,LookUp(SPList,ID = SharePointIntegration.Selected.'ID'),
{Date10: DatePicker10.SelectedDate
}
)
);
@olsen9
What is the DefaultDate property of the datepicker?
ThisItem.Date10
Okay...working backward - What is ThisItem? Is your datepicker in a form or a gallery?
gallery
Okay...next, what is the Items property of your Gallery?
Filter(SPList, ID=SharePointIntegration.Selected.'ID')
So you have a gallery table that will only have ONE record? What does purpose does a gallery serve in this case?
Back to your original statement though - "Date is already in DatePicker10 but clears it out on Save"
When you refer to Save - are you referring to the Save button in the SharePoint interface?
When you say it clears, are you stating that all the rest of the information is there but the DatePicker date disappears?
my gallery is for 10 items. But the Save Icon (not interface save) I am using to patch updated records would clear out the date already in place. I just republished the form and did a test on date10. It did not clear out the date this time. Strange. I will monitor this and reach out if it happens again.
Okay...let's see if you run into it again!
@RandyHayes spoke too soon, it just happened, you'll see in the version history the date should be there it got cleared out on save
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 232 Super User 2026 Season 2
WarrenBelz 202 Most Valuable Professional
Mohsin Ali 122