Hello Guys,
I'm trying to display some of my O365 Outlook Calendars in a Power App.
Can someone help me?
Thanks
Solved! Go to Solution.
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:
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:
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:
Best regards,
Kris
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:
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:
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:
Best regards,
Kris
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
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"
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
247 | |
122 | |
84 | |
83 | |
67 |