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.

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,791)