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
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 (1,587)