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 / Error when viewing the...
Power Apps
Answered

Error when viewing the gallery record in edit form/screen mode.

(0) ShareShare
ReportReport
Posted on by 13

I am looking for some PowerApp assistance in connecting my Edit Form control to my Gallery. It was working fine until I adjusted my Gallery control to allow for record ID & Title search. Now, it's throwing an error when viewing the gallery record in form edit mode.  Any help would be much appreciated. Thank you in advance!

 

Gallery

Items:

Search(

AddColumns(

Intake_Tracker,

"newID",

Text(ID)),

txtSearchID.Text,

"Title",

"newID")

 

Edit Screen/Form

Item: 

'Request Gallery'.Selected

Snag_2957fcfa.png
Snag_2957e49f.png
Snag_29581f85.png
Categories:
  • Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

    I don't see an issue with the code, please make sure the Datasource of form is same as the datasource of gallery

  • KristyC_2005 Profile Picture
    13 on at

    Yes, the datasource for the gallery and form are the same.  

     

    When I run the app checker in the form, the following error is found:

    Invalid formula. Expected a value compatible with "DataSource".

    Item: 'Request Gallery'.Selected

     

  • Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

    Could you try the same thing with a new form, seems like a bug, not sure

  • KristyC_2005 Profile Picture
    13 on at

    I did and same results.  Thank you. 

  • Verified answer
    Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

    Actually you have used add columns here in gallery data source, could you do the same for form source and add the same column with add columns?

     

    Or use a collection for both places if 2000 records isnt an issue 

     

    Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

    Want to support me! Buy me a Cup of Coffee?

  • KristyC_2005 Profile Picture
    13 on at

    Thank you, @Manan-Malhotra !  I wasn't maintaining datasource consistency with the use of the right item property.  Updated the form item property to LookUp and it worked! 🙌

     

    Found what I needed on the related topic.

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard