Skip to main content
Community site session details

Community site session details

Session Id : lx+2Eak/GlX7Bv9NrCC70B
Power Apps - Building Power Apps
Answered

Refresh a gallery that displays my outlook calendar

Like (1) ShareShare
ReportReport
Posted on 9 Oct 2020 13:36:31 by 206

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:
  • RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 09 Oct 2020 at 15:59:18
    Re: Refresh a gallery that displays my outlook calendar

    @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. 

  • Aimthedame Profile Picture
    206 on 09 Oct 2020 at 15:52:47
    Re: Refresh a gallery that displays my outlook calendar

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

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 09 Oct 2020 at 13:54:40
    Re: Refresh a gallery that displays my outlook calendar

    @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.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete