Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Is there a way to refresh a form, after editing, to show the changes to the record?

Posted on 25 Nov 2024 20:46:53 by 759
I have a form that gets populated by a gallery selection. This is done by pushing the gallery selection into a global variable that is then used as the Items property of the form. From here a user can click an 'Edit' button which puts the form into edit mode where they can make changes and then submit the update. This all works great, however, when the record is updated the form does not update with the new data. Is there a way to refresh the form? If not I may simply reset the form so it is blank and have the user select a new record.
Categories:
  • Verified answer
    futr_vision Profile Picture
    futr_vision 759 on 25 Nov 2024 at 21:53:40
    Is there a way to refresh a form, after editing, to show the changes to the record?
    Ok. This seems to work
     
    Set(glbFormData, FRM_Review.LastSubmit)
     
  • futr_vision Profile Picture
    futr_vision 759 on 25 Nov 2024 at 21:25:21
    Is there a way to refresh a form, after editing, to show the changes to the record?
    Hmm. I don't believe I am updating the global variable on submission. How best to do that?
  • Verified answer
    ronaldwalcott Profile Picture
    ronaldwalcott 855 on 25 Nov 2024 at 21:02:58
    Is there a way to refresh a form, after editing, to show the changes to the record?
    Do you update the global variable? What values are the controls showing other than the values which you put in them?
    Did you try to reset the form? Reset(formname)

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard