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 / Navigate back to galle...
Power Apps
Answered

Navigate back to gallery after selecting item holds values in the Edit Screen when navigating to a different item from the Gallery

(1) ShareShare
ReportReport
Posted on by 160

I have a canvas app that when navigating from the Gallery1 to an item ,it goes to the correct Edit form.  But, I have a button titled Back that uses the Navigate(Gallery1) function.  When clicking on this button and returning to Gallery1, if I click on another item, the data in the fields of the Edit form are the same as the item originally sent to from the gallery.  How can I get this to open a different item if I navigate back?  I did not want to use the Back function because I have used deep linking to open items directly from the list, if need be. In this scenario, the back function would take them back to the list but we do not want that.

 

BackButton.Onselect

Refresh(TermReport);Navigate(Gallery1)

 

 

 

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi,

     

    When you select the item in the gallery, what code are you using?
    I would hazard a guess something like this:

    Select(parent); Navigate(EditFormScreen)

     

    You could try using:

    Select(parent); ResetForm(EditFormName); EditForm(EditFormName); Navigate(EditFormScreen)

     

    Let me know what code you have on the gallery's select.

     

    Cheers,

    Sancho

     

  • GoGorilla Profile Picture
    160 on at

    @iAm_ManCat  I am using the following in the OnSelect property of the Gallery1 arrow icon:

    Navigate(frmEditTermReport,ScreenTransition.Fade,Gallery1.Selected)
  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Thanks,

     

    Can you change it to make sure it actually selects the row in the gallery like this:

     

    Select(Parent); Navigate(frmEditTermReport,ScreenTransition.Fade,Gallery1.Selected)

     

  • GoGorilla Profile Picture
    160 on at

    @iAm_ManCat  I apologize for my delayed response as I was swamped.  This worked perfectly and I understand why this works.  Thank you.

     

  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Happy I could help, and no worries about the delay, I'm glad you came back to say it worked! 😺

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard