Announcements
Hi,
I have create Calendar application to help my team for mark a date to WFH but I facing a problem that when I click date that I want and need to update to SP it can't update cause I've using patch with Label into Date type in SP.
The reason I need to do this because after user has selected their date I'll use it to show in calendar.
Hi @nitisak ,
You could convert the string to datetime value by the DateTimeValue function .
Best Regards,Bof
Hi @v-bofeng-msft
Where can I put the code into in text label ?
Could you please show me the submit button's OnSelect property ?
Sorry for late reply. Here's my code.
Patch('Next Gen Calendar',Defaults('Next Gen Calendar'),{NameofUser: User().FullName,Status:{Value:"Entering Office"}});Clear(colDates2);Navigate(Screen2,ScreenTransition.UnCover)
Please try:
Patch('Next Gen Calendar',Defaults('Next Gen Calendar'),{NameofUser: User().FullName,Status:{Value:"Entering Office"},
DateTimeColumn:DateTimeValue(LabelName.Text)});Clear(colDates2);Navigate(Screen2,ScreenTransition.UnCover)
Best Regards,
Bof
I forgot to tell you that data selected has store in Collection before add
It's worked if I choose only one record but my propose is allow users to selecte mutiple record and add to SP as well.
Show me the collection please.
hi @v-bofeng-msft
Please see.
What do these numbers represent? Seconds? If so, what is the start time?
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 381 Super User 2026 Season 2
Mohsin Ali 340
WarrenBelz 187 Most Valuable Professional