I finally got it to work, the meeting is created in my outlook Calendar!
Now i want to increase the end time with the duration field value (txt field and stored in varDuration)
i have the follow code that works only now the end time is the same as the start time:
Set(
varUserCalendarId,
LookUp(
Office365Outlook.CalendarGetTablesV2().value,
name = "Calendar"
).id
);
Office365Outlook.V4CalendarPostItem(
varUserCalendarId,
/*subject of the meeting*/
Afspraakoms,
/*The time the meeting starts*/
Text(
DateTimeValue(afspraakdatumText & "," & " " & ddHour.SelectedText.Value & ":" & ddMinute.SelectedText.Value & ":" & "00"),
DateTimeFormat.UTC
),
/*the time the meeting ends*/
Text(
DateTimeValue(afspraakdatumText & "," & " " & ddHour.SelectedText.Value & ":" & ddMinute.SelectedText.Value & ":" & "00"),
DateTimeFormat.UTC
),
/*Timezone for the meeting*/
"UTC",
/*optional functions*/
{
requiredAttendees: "",
body: "Kappers afspraak",
location: "address",
reminderMinutesBeforeStart: 30,
showAs: "busy"
}
)
can someone please assist how to add x minutes to the end time:

Report
All responses (
Answers (