web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can I get my edit ...
Power Apps
Unanswered

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
    36,383 Super User 2025 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard