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 / Refreshing collections...
Power Apps
Answered

Refreshing collections in Teams

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've added my powerapp to a Teams channel, but I notice that collections aren't being updated after a patch.

This is the video I followed - https://www.youtube.com/watch?v=UmMhQSom_EE

 

Is there a way to fix this? 

Categories:
  • GarethPrisk Profile Picture
    2,828 on at

    Not enough context. Can you elaborate on the functions and data sources you're using?

    Running apps in Teams has a few idiosyncrasies, but otherwise it should perform identically to running the app in the web player or studio. Can you confirm your functions work there?

  • morall Profile Picture
    Microsoft Employee on at

    I have a list of people coming from a CDS that show up in a gallery. There is a filter on the gallery (see code block below)

     

    There is a button on this app that  is "hide profile", that basically saves the profileID into another CDS.

     

    In my gallery, I have a filter that checks for all people in the "hidden profile" CDS and filters them out. I use a concat() method and create a long string and use IF(Not(In(...))) filter.  When I'm in the app, I  hit "hide profile" and they disappear from the gallery instantly

     

    From what I understand is happening:

     

    1.) Hit hide profile

    2.) "hidden profile" CDS is updated, a new record is added

    3.) Gallery filter "refreshes", filters out hidden profile

     

    In the Teams app, it doesn't seem step #3 is happening. It will add a record to the CDS, but it doesn't "refresh" the filter 

     

     

    This is the code from the filter:

     Filter(
     pipeline_candidates2,
     If(
     ToggleHidden_1.Value = false,
     Not('iCIMS ID' in Concat('Morgan Hidden Profiles'.'hidden icimsid', 'hidden icimsid' & ", ")),
     true 
     )
     )

     

  • Verified answer
    morall Profile Picture
    Microsoft Employee on at

    there was a bug in my code, the "hide profile" button was referencing the wrong gallery! 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard