Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Office365Outlook.GetCalendarTables lookup based on combobox data

Hi All!


I have a form connected to a sharepoint list.  I'm ultimately trying to pull up the Calendar ID and store it in Sharepoint.  The way I'm doing this is this:


DataCard1 has a combobox with Fields to DisplayName and Mail:
Items: Office365Users.SearchUser({searchTerm:cbContact.SearchText,top:10})


DataCard2 has a textinput box to grab email address:

Default: cbContact.Selected.mail


DataCard3 currently has a textinput box to grab the CalendarID.  **This comes back as a blank value**

Default: LookUp(Office365Outlook.CalendarGetTables().value,cbContact.Selected.DisplayName = "Calendar").Name


Since I don't want it to grab the CalendarID of the person using the app, but the CalendarID of the person selected in the combobox, I'm kind of lost on how to set it.  I also tried putting the lookup in a variable, and then setting the Default properties to the variable (which also came back blank).  I'm sure my lookup isn't working right, just not sure what I'm doing wrong.


Any help would be appreciated!!


Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,377)