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

SubmitForm to SharePoint Calendar not working

Hi All
I have a problem with writing to a SharePoint Calendar. And only when changing an existing record/event to it.
I can add entries to that calendar, but when I need to change the Start/End Date or any other field, the SubmitForm(Form3) errors.
I'm quite sure it's due to that EndDate field ('End Time' field), it seems like it doens't recognized that field. 
When I created the form, it gave a red cross on the date fields also. I had to change the fields manually from 'Start Time' to EventDate and 'End Time' to EndDate. 
I tried to use Patch instead but that doesn't work either... :'(

Any ideas among this community? 
Thanks a lot in advance!

Bart 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @BClouded ,

Could you please show more details about the error message within your app?

 

Actually, it is an known issue with SharePoint Calendar List. The user @lancealcabasa has faced same issue with you, please check my response within the thread:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Error-when-changing-just-the-End-Date-for-Fo...

 

As an alternative solution, please consider set the Update property of the Start Time data card in your Edit form to following:

DateValue1.SelectedDate + Time(Value(HourValue1.Selected.Value), Value(MinuteValue1.Selected.Value), 1)   /* <-- Modify Start Time value sightly */

set the Update property of the End Time data card in your Edit form to following:

DateValue2.SelectedDate + Time(Value(HourValue2.Selected.Value), Value(MinuteValue2.Selected.Value), 1)   /* <-- Modify Start Time value sightly */

 

Please consider take a try with above alternative solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @BClouded ,

Could you please show more details about the error message within your app?

 

Actually, it is an known issue with SharePoint Calendar List. The user @lancealcabasa has faced same issue with you, please check my response within the thread:

https://powerusers.microsoft.com/t5/Building-Power-Apps/Error-when-changing-just-the-End-Date-for-Fo...

 

As an alternative solution, please consider set the Update property of the Start Time data card in your Edit form to following:

DateValue1.SelectedDate + Time(Value(HourValue1.Selected.Value), Value(MinuteValue1.Selected.Value), 1)   /* <-- Modify Start Time value sightly */

set the Update property of the End Time data card in your Edit form to following:

DateValue2.SelectedDate + Time(Value(HourValue2.Selected.Value), Value(MinuteValue2.Selected.Value), 1)   /* <-- Modify Start Time value sightly */

 

Please consider take a try with above alternative solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi 

Thanks for your reply.
Well I actually deleted the HourValue and MinuteValue in my datacard. But also updated the Update property to 

DateValue1.SelectedDate

Maybe I should just hide those fields instead of removing them. I'll try that later today! Keep you posted about my findings. 

Thanks!
Bart 

Changing the Update property of both datacards was indeed the solution! 
Thanks a lot!!  I would have never found that without your help.

Bart

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,635)