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 / Clear Collect in Galle...
Power Apps
Unanswered

Clear Collect in Gallery (not working after app export and import)

(0) ShareShare
ReportReport
Posted on by 29

Hi All,

 

In my app I have a gallery which uses a collection, now my clearcollect function works fine with no issues and displays the data in my gallery fine however...

 

I've exported this and reimported, also tried to save the app as a new name (just to work on) and then in both instances the Gallery is no longer populated, its blank, there doesn't seem to be any errors yet no data is displaying.

 

Either this is strange or I'm being a plonker on this, any advice would be appreciated.

 

Thanks

 

Categories:
  • jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    Hi,

     

    you say "I've exported this and reimported". what is your purpose?

  • PerfsPC Profile Picture
    29 on at

    Apologies if I've poorly explained.

    The two instances I have tried which then failed to display my collection in the gallery are.

    • Exported the app and migrated to a new environment and/or tenant (as we are in process of moving
    • Saved the app as another name, so I have a backup to develop with.

    Hope this helps

    Thanks

  • Sunil-Narnaware Profile Picture
    681 on at

    @PerfsPC can you share your clearcollect function..? what are the parameters and what you are collecting..?

  • PerfsPC Profile Picture
    29 on at

    Hi, Thanks for asking this details. I haven't changed nothing at all but this doesnt seem to populate the Gallery in the 2 instances mentioned above, yet works fine on the existing app version.

     

    App On Start
    Concurrent(
    ClearCollect(ColA,List1),
    ClearCollect(ColB,List2),
    ClearCollect(ColC,List3)
    );Collect(Collect1,ColA,ColB,ColC)

     

    Gallery
    Search(Collect1,SearchFunction.Text,"Column1","Column2","Column3","Column4")

     

    Thanks

  • jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    Have you tried removing and re-adding Lists 1, 2 and 3?

  • PerfsPC Profile Picture
    29 on at

    Yes, tried that, its a strange one

  • jorge.daniel Profile Picture
    1,430 Super User 2024 Season 1 on at

    If you set a gallery's Items to List1 per instance, does it get populated?

  • PerfsPC Profile Picture
    29 on at

    Issue solved, my own mistake, there was a lurking space in my syntax.. thanks all

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