
I am currently creating an application for a team to manage tasks and add them to an outlook calendar. Right now, it successfully adds the task to a calendar, but the importance is left blank. Here is my code:
Office365Outlook.V4CalendarPostItem(
LookUp(
Office365Outlook.CalendarGetTables().value,
DisplayName = "Calendar"
).Name,
InputTask.Text,
DPDueDate.SelectedDate,
DPDueDate.SelectedDate,
"(UTC) Coordinated Universal Time",
{Importance: DDPriorityLevel.Selected.Value}
)
Any help would be appreciated. Also, if anyone knows, is there a way to update someone else's Calendar if there name is selected in a dropdown?
Hi @CSilva,
The optional parameters are written in lower case - try importance.
In order to view or update other calendars, the calendar will need to be shared with the user executing the action and they will need the correct permissions to that calendar. In practice this could be quite difficult to set up when the users need access to a lot of calendars.
Should you just want the event to show up in the selected person's calendar, you could give the optional parameters 'requiredAttendees' or 'optionalAttendees' a try.
If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.
Thanks!