web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Refresh a gallery that...
Power Apps
Answered

Refresh a gallery that displays my outlook calendar

(1) ShareShare
ReportReport
Posted on by 220

I have a screen with a Gallery that displays my Outlook 365 Calendar. Items for the Gallery is set as Office365Outlook.CalendarGetItems(ddCalName.Selected.Name).value. This returns my calendar data. The problem is that I can't get to refresh when I add new items to the calendar without closing out and reopening the app. Help!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Aimthedame 

    Unfortunately, there is no particular way to refresh/reset the information when it is tied to the Gallery items directly.

    However, you can force it to refresh by changing the calendar name.  You can change your Items property to the following formula:

    Office365Outlook.CalendarGetItems(If(lclUpdateCalendar, "", ddCalName.Selected.Name)).value

    Then, at some action - a button OnSelect, a Timer action, anything...you can put the following formula:

    UpdateContext({lclUpdateCalendar:true}); UpdateContext({lclUpdateCalendar:false})

    This will cause the Item formula to reevaluate and it will force a refresh.

     

    I hope this is helpful for you.

  • Aimthedame Profile Picture
    220 on at

    I've been trying to figure that out for a week. Thank you so much!

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Aimthedame 

    Excellent!  If this helped out then please mark the reply as the solution so that others who experience that same issue can find the answer quickly. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 602

#2
WarrenBelz Profile Picture

WarrenBelz 473 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 310

Last 30 days Overall leaderboard