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 / How can I get my edit ...
Power Apps
Answered

How can I get my edit form to function as I expect?

(1) ShareShare
ReportReport
Posted on by 831 Moderator
I have asked this before but I am at a point where I've made some many changes that I am completely lost. I figured I'd start over. Here is the scenario and how I have implemented. Does this make sense?
 
  1. I have a gallery that returns the values of a Dataverse table. 
  2. Next to this gallery is a form to view all of the fields for each record.
  3.  When you click on a record in the gallery the record gets written to a global variable. NOTE: I am using a global variable because there is a copy record function where the record, in the global variable, is used to populate the original edit form.
  4. The form's Item property is set to the global variable. 
  5. Each DataCard has a Default of ThisItem.'FieldName' 
  6. Each field has a DefaultSelectedItems like this {dk_fullname: Parent.Default}, in the case of combo boxes, or Parent.Default in the case of text input fields
I think this all generally works fine. Maybe this is not the best way to do this so I am open to suggestions. 
 
 
Categories:
I have the same question (0)
  • Verified answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    Yes this totally makes sense and sounds like a good way of doing it. Plus, you're not experiencing any issues with this method which is the best thing.
     
    Kind regards, 
    Nandit
     
     
  • Verified answer
    timl Profile Picture
    37,283 Super User 2026 Season 2 on at
    Hi  futr_vision 
     
    This looks completely fine. 
     
    The only minor comment I would make is that if there's no need for you to access the variable outside of the screen, an alternative is to use a context variable instead of a global variable. 
  • futr_vision Profile Picture
    831 Moderator on at
    Glad that this a good approach. I am running into issues with dependent combo boxes involving a gallery and a form in edit mode but that is for another post.

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 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard