Skip to main content
Community site session details
Power Apps - Building Power Apps
Answered

Gallery.selected not working all of sudden

Like (0) ShareShare
ReportReport
Posted on 15 Aug 2021 05:28:34 by 1,116

Hello team, for a helpdesk app, i have a sharepoint list created. I am using gallery control to display the item from the list.

And also a Form to display when particular record is selected. On Form's item property i set Gallery1.Selected to display the selected record. This was working flawlessly till yeterday. And today when i run the application, my form showed a error and gallery1.selected no longer recognized and i am getting the error Formula type "Record"

 

what could be wrong.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on 06 Jun 2023 at 18:29:24
    Re: Gallery.selected not working all of sudden

    @Ali79 

    Submit your own question rather than piggy-backing on this one.  No one will find the answer that way.

  • Ali79 Profile Picture
    28 on 05 Jun 2023 at 04:16:16
    Re: Gallery.selected not working all of sudden

    @Drrickryp just started using power app and had a similar issue to @venka91 with using item for the form as Gallery.Selected.

    Tried to replace with lookup('datasource', ID=Gallery.Selected.ID), but its not recognised and I still get nothing and a cross against the formula (wrong formula).  Any suggestions on how to fix it? Thank you!

  • venka91 Profile Picture
    1,116 on 15 Aug 2021 at 05:48:39
    Re: Gallery.selected not working all of sudden

    Thank you. This seems to be worked. But i see there is a latency when i click the button on gallery .. form taken 1 second to display the result. But earlier it was instant.

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on 15 Aug 2021 at 05:41:31
    Re: Gallery.selected not working all of sudden

    @venka91 

    Use Lookup(datasource, ID=Gallery1.Selected.ID) it is more specific.

    The datasource for the gallery and the form must be identical.  If you changed the Items property of the gallery, Gallery. Selected will not match.

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete