Hi All,
I am trying to stop my Calendar invite from sending to the person saving the item. My current coding is calling the users Calendar which I do not want it to, but I can't seem to replace it out successfully?
I believe I need to replace this line with something, Anyone got any suggestions?
LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name,
Current Full Code on select of a button:
UpdateContext({VarMode: View}); SubmitForm(Form_DC);
Office365Outlook.V4CalendarPostItem(
//Logged in users calendar (Might need to change to selected person)
//ThisItem.'Email',
LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name,
// Subject
"Duty Coordinator - " &ThisItem.Office,
//Time Start + UTC timezones etc
DateAdd(DateTimeValue(VarStart.Text),TimeZoneOffset(), Minutes),
//Time End + UTC timezones etc
DateAdd(DateTimeValue(VarEnd.Text), TimeZoneOffset(), Minutes),
//Timezone for Meeting
"(UTC+10:00) Canberra, Melbourne, Sydney",
{requiredAttendees: ThisItem.'Staff Member'.Email,
responseRequested: true,
location: ThisItem.Location,
importance:"normal",
showAs:"free",
isReminderOn: true,
reminderMinutesBeforeStart: 15}
);
Thank you!!!
Kind Regards,
Tia
Solved! Go to Solution.
We ended up creating a flow instead of housing it within the powerapp.
When an item on the list is edited or modified >
Create event (v4)
Set to a Calendar that isn't person-specific
Also added in the StartTime and EndTime as patched fields to allow the flow to grab better and format appropriately.
In this App there is a singular field that gets modified/changed (Staff Member)
Hi @Tia ,
"Office365Outlook.V4CalendarPostItem" is used to create event.
Its first parameter is calendar id.
"Office365Outlook.CalendarGetTables().value" is used to return calendars.
LookUp(Office365Outlook.CalendarGetTables().value, DisplayName = "Calendar").Name
So this formula will return one calendar's Name.
All the formulas are not related to "Email".
So could you describe more clearly about your demands?
What do you want by using "Office365 Connectivity V4CalendarPostItem"?
What kind of calendar id do you want to use for this function?
Best regards,
We ended up creating a flow instead of housing it within the powerapp.
When an item on the list is edited or modified >
Create event (v4)
Set to a Calendar that isn't person-specific
Also added in the StartTime and EndTime as patched fields to allow the flow to grab better and format appropriately.
In this App there is a singular field that gets modified/changed (Staff Member)
User | Count |
---|---|
193 | |
126 | |
88 | |
48 | |
42 |
User | Count |
---|---|
277 | |
162 | |
136 | |
81 | |
78 |