Hi Pros,
I need some help that I have been banging my head on all week. Now it's time to call in the muscles here π πͺ
Summary:
My Powerapp is not writing an Outlook V4 Post Item calendar event to the correct date. The times get posted correct.
Setup:
The SharePoint List has Single Text columns for 'Event Date', 'Start Time', and 'End Time'.
How it works:
User selects Event from a gallery and is presented with a confirmation registration screen where the Register button is located. This screen serves as a summary to confirm if the date, time, and other details are correct before clicking Register.
Problem:
When the user clicks the Register button in the RegistrationConfirmScreen, the code below creates the Outlook calendar event always for the current date rather than the desired 'Event Date' as selected from the gallery back on Screen1.
The Ask:
How can I get this thing to post for the correct date? Times are correct even though they are in different SP List columns. Can someone stretch and help me out so I can get over this roadblock?
Office365Outlook.V4CalendarPostItem(
LookUp(
Office365Outlook.CalendarGetTables().value,
DisplayName = "Calendar"
).Name,
LabelTitleValue.Text,
EventView1.Selected.'Event Date' + Text(EventView1.Selected.'Start Time',DateTimeFormat.UTC),
LabelEndTimeValue.Text,
LabelFriendTimeZoneValue.Text,
{body: LabelDescriptionValueHTML.HtmlText}
);
Thanks,
TAG