cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Office365 Connectivity V4CalendarPostItem

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

 

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,332)