cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Burri02
Level: Powered On

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
Community Support Team
Community Support Team

Re: Display Outlook Calendar Events in PowerApps

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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Display Outlook Calendar Events in PowerApps

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

Burri02
Level: Powered On

Re: Display Outlook Calendar Events in PowerApps

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

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 393 members 4,217 guests
Recent signins:
Please welcome our newest community members: