cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Burri02
Regular Visitor

Display Outlook Calendar Events in PowerApps

Hello Guys,

 

I'm trying to display some of my O365 Outlook Calendars in a Power App.

Can someone help me?

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Burri02,

 

Do you want to display some of your Outlook Calendar events within PowerApps app?

 

 

If you want to display Outlook events within an app, I think Gallery control could achieve your needs. I have made a test on my side, please take a try with the following workaround:4.JPG

 

5.JPG

 

6.JPG

 

 

  • Add a Office 365 Outlook connector as a data source within your app.
  • Add a Drop down control (Dropdown1) and a Gallery control within the screen.
  • Set the Items property of the Drop down control to following formula:
Office365.CalendarGetTables().value

Set the Items property of the Gallery control to following formula:

Office365.CalendarGetItems(Dropdown1.Selected.Name).value

 

Note: Within the Gallery control, you could reference the Outlook event property using the ThisItem operator. e.g. If you want to reference the subject of the Outlook event, please type the following formula within the Text property of the Label control:

ThisItem.Subject

Please check and see if the following article would help in your scenario:

https://stackoverflow.com/questions/37816734/microsoft-powerapps-how-to-get-calendar-events-from-o36...

 

In addition, if you want to filter your Outlook events based on some conditions, I think the Filter function could achieve your needs.

 

e.g. If you only want to display Outlook events whose created date is greater than today, please set the Items property of the Gallery control to following formula:

Filter(Office365.CalendarGetItems(Dropdown1.Selected.Name).value,DateTimeCreated>=Today())

More details about the Filter function in PowerApps, please check the following article:

Filter function

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @Burri02,

 

Do you want to display some of your Outlook Calendar events within PowerApps app?

 

 

If you want to display Outlook events within an app, I think Gallery control could achieve your needs. I have made a test on my side, please take a try with the following workaround:4.JPG

 

5.JPG

 

6.JPG

 

 

  • Add a Office 365 Outlook connector as a data source within your app.
  • Add a Drop down control (Dropdown1) and a Gallery control within the screen.
  • Set the Items property of the Drop down control to following formula:
Office365.CalendarGetTables().value

Set the Items property of the Gallery control to following formula:

Office365.CalendarGetItems(Dropdown1.Selected.Name).value

 

Note: Within the Gallery control, you could reference the Outlook event property using the ThisItem operator. e.g. If you want to reference the subject of the Outlook event, please type the following formula within the Text property of the Label control:

ThisItem.Subject

Please check and see if the following article would help in your scenario:

https://stackoverflow.com/questions/37816734/microsoft-powerapps-how-to-get-calendar-events-from-o36...

 

In addition, if you want to filter your Outlook events based on some conditions, I think the Filter function could achieve your needs.

 

e.g. If you only want to display Outlook events whose created date is greater than today, please set the Items property of the Gallery control to following formula:

Filter(Office365.CalendarGetItems(Dropdown1.Selected.Name).value,DateTimeCreated>=Today())

More details about the Filter function in PowerApps, please check the following article:

Filter function

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-xida-msft

 

Now the Calendar Event Objects Appears but only without Text what can I do?

The Error Code says unfavourable Name.

 

Best Regards

 

Burri02

 

Brice235i
Impactful Individual
Impactful Individual

Hi, this doesn't work for me either.  The Filter code supply returns an error.  It must be possible... there is a template for Meeting Room booking and the calendar integration works beautifully.  I tried to copy into my app but can't resolve multiple errors.

The error message for: 

Filter(Office365.CalendarGetItems(Dropdown2.Selected.Name).value,DateTimeCreated>=Today())

"Filter has invalid arguments"

@v-xida-msft 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,686)