For some reason, when I post an event to a calendar using the following code (see below), it posts an the day prior to the selected date. For example, if I select 8/16/2017, PA will post an event to 8/15/2017 instead. Is this another one of those wierd date issues that PA still has?
Office365.V2CalendarPostItem(ddSelect.Selected.Value, "test" ,date1.SelectedDate, date2.SelectedDate, { Body: DataCardValue47, IsHtml: true, IsAllDay: false});Navigate(success,ScreenTransition.Fade)
Also, are we able to post an event to an Office 365 group calendar?
v/r
Brendon
Solved! Go to Solution.
Hi BrendonBrooksP1,
Please make sure the time zone on your local PC is the same with the time zone of Office 365.
I have tested to post event on Office 365 Outlook calendar via PowerApps. The date is actually what I filled on app.
I tried with both Office365. V2CalendarPostItem and Office365.CalendarPostItem, both are working fine.
The function I am using is:
Office365.V2CalendarPostItem(Dropdown1.Selected.Name,TextInput1.Text,DatePicker1.SelectedDate,DatePicker2.SelectedDate)
Then when I click the button, an event will be created on the selected calendar without issues.
Please check the time zone and try again with it.
If you are still having the issue, please feel free post back.
About post an event to Office 365 Group calendar, it seems that currently it is not possible. Please consider to vote the idea at here, I will help collect and report it from my side.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/Office-365-Group-Calendar/idi-p/36695
Best regards,
Mabel Mao
Hi BrendonBrooksP1,
Please make sure the time zone on your local PC is the same with the time zone of Office 365.
I have tested to post event on Office 365 Outlook calendar via PowerApps. The date is actually what I filled on app.
I tried with both Office365. V2CalendarPostItem and Office365.CalendarPostItem, both are working fine.
The function I am using is:
Office365.V2CalendarPostItem(Dropdown1.Selected.Name,TextInput1.Text,DatePicker1.SelectedDate,DatePicker2.SelectedDate)
Then when I click the button, an event will be created on the selected calendar without issues.
Please check the time zone and try again with it.
If you are still having the issue, please feel free post back.
About post an event to Office 365 Group calendar, it seems that currently it is not possible. Please consider to vote the idea at here, I will help collect and report it from my side.
https://powerusers.microsoft.com/t5/PowerApps-Ideas/Office-365-Group-Calendar/idi-p/36695
Best regards,
Mabel Mao
@v-yamao-msftUnderstood, I'll look into that. In order for people in my organization to see these events, I'm going to assume that I have to create a calendar, then share that calendar with everyone for the time being until the Office 365 connector has been updated to support Office Groups. Thanks for your help.
brendon
Update on this one....
I can post to my calendar just fine, however when I select any other calendar in my drop down list, i receive this error: Is there something that I'm missing here?
The service returned an error: Office365!V2CalendarPostItem: { "status": 400, "message": "Id is malformed.\r\nclientRequestId: 6ea7e395-b6b3- b692-8283-c3979d36e7ca", "source": "office365connectionproviderwestus.tip0-westus.p.azurewebsites.net" }
Hello...
I have the same issue, but I can even post an event to my default calendar.
Does someone have an answer for this?
In my experience the date shifting can also be connected to the IsAllDay field.
User | Count |
---|---|
252 | |
107 | |
88 | |
51 | |
44 |