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 / Cannot access all reco...
Power Apps
Answered

Cannot access all record fields when storing record as a variable

(0) ShareShare
ReportReport
Posted on by 8

Hi, I haven't been able to find the answer to this anywhere and I do have a work-around but hoping to resolve the root cause of this issue.

Currently I have an app where I select items from a list and navigate to an edit details page. Rather than use the

 

Gallery1.Selected

 

I am setting a global variable using, 

 

Set(varSelected,Gallery1.Selected)

 

which helps me a lot because it is possible to navigate to this details page from a few different galleries. So in some other screen on the app I may use 

 

Set(varSelected,Table2.Selected)

 

which allows me to have a few tables and galleries that display different details but still use only one screen to edit and view details for those items. 

Currently, when I navigate to a roll details page, ONLY the fields visible in the gallery or table are available to me. An edit form with the Item property set to varSelected will only fill in the fields with data that existed in the table. If I do not use a variable to store the record I can get even fields that are not displayed.

Current workaround is simply adding all the fields I need but this won't work long term as I have another entity that has many many fields I will need to pull and will not be able to display in a gallery or table. Any idea why I cannot get more fields from these records when they are stored as variables? Can I store all fields in the variable when setting it?

Thank you, these forums have been very helpful starting from scratch on powerapps.

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @bwpescatore 

    In the Item property of the form try Lookup(datasource,ID=varSelected.ID).  The Datasource property of the  Form and the datasource in the Item property must be an exact 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard