Hello!
I am trying to use the Book a Room app to book meetings in the calendar of a resource.
I have several problems.
First, Office365.GetRooms() does not recognize the calendars/rooms in resources, but only shows the rooms available in the folder All Rooms, and those are not what I am trying to reach. How can I get the rooms from resources?
Second, I can't book meetings even on the rooms showed, because there is a problem with the calendar_id in the function Office365.V2CalendarPostItem. The calendar_id in this function reffers to the MyCalendar variable:
Office365.V2CalendarPostItem(MyCalendar, User().FullName & "'s Skype Meeting", StartDateTimeUTC, EndDateTimeUTC, {Body:"<a href="&SkypeMeeting.JoinUrl&">Join Skype Meeting</a>", IsHtml:true, Location: "Online Meeting", Importance: "Normal", ShowAs: "Busy"})),
The MyCalendar variable is defined in the OnStart property of the App like this:
Set(MyCalendar, LookUp(Office365.CalendarGetTables().value, DisplayName = "Calendar").Name),
I have tried putting the name of the calendars I want to reach in the DisplayName, but nothing works, I always end up with a variable without value in it, which is probably why the following functions that reffer to this variable doesn't work.
I have also tried to use the function Office365.V3CalendarPostItem on a blank app just to test if I could write in the calendar that I want as I wish, but I can't figure out what to put on the calendar_id parameter. I have tried the name of the calendars and their e-mail address but nothing works.
I couldn't find solutions to my problem either by looking on the forum. I have began to program not too long ago so I may be doing some dumb mistakes. Hope someone can help me!
Best regards
Bumping for visibility
@Anonymous
Thank you.
User | Count |
---|---|
256 | |
108 | |
97 | |
51 | |
39 |