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 to redirect to ite...
Power Apps
Unanswered

how to redirect to item edit screen

(0) ShareShare
ReportReport
Posted on by

Hi Mates,

As of now i have home screen(landing page with gallery to display all items),

Also we have one more screen for New Items(Form to Submit Records when icon click from home screen then it will navigate to this new item screen) here Form display all fields to submit record. 

 

here query is how to navigate the same screen with corresponding item means new item screen with edit mode to update the record. 

Can i use same form to update/Change/Re-Submit. 

 

Any help please

 

I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Anonymous ,

    I'm sorry I don't know if I understand your needs, could you tell me if my assumptions are correct?

    • When you click on the icon on the home screen, the page jumps to a new screen. This new screen has an Edit form . The Edit form now is used to create a new record. So its current field value is the default value of the data source.
    • After you submit this new record, you want the screen to remain unchanged. But the values in the fields become the values just submitted. And you can modify this value and submit again.

     

    If so , the point is to set the Item property of Edit form. I set a variable.

    • When the value of the variable is 1, the value of Item property is the latest record submitted. After you submit, you can use same form to re-submit.
    • When the value of the variable is 0, the value of Item is the record selected by the gallery.

     

    Please refer to the steps below:

    1\ Show the location of the controls

    In home screen:

    1. Add Icon (Add a new record)
    2. gallery control ‘BrowseGallery1’

     

    In ‘EditScreen1’ screen

    1. EditForm control ‘EditForm1’
    2. Back Icon

     

    2\ Modify the onselect property of the icon on the home screen to:

    Set(A,1); NewForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None) 

    /*  A is the variable.

         â€˜EditForm1’ is used to submit data. ‘EditForm1’ control is on the ‘EditScreen1’ screen. */

     

    3\ Set ‘EditForm1’ ‘s Item property to:

    If(A=1, Last(LIST22),BrowseGallery1.Selected)

    /* ‘LIST22’ is my test list name.

        â€˜BrowseGallery1’ is the gallery control on the home screen. It is used to display all Items. */

     

    4\ Set ‘EditForm1’ ‘s onsuccess property to:

    Refresh(LIST22);Navigate(EditScreen1)

     

    5\ Set the back Icon’s onselect property to:

    ResetForm(EditForm1);Set(A,0) ;Back() // Back Icon is on the ‘EditScreen1’ screen.

     

    v-xiaochen-msft_0-1606374547335.png

     

    Best Regards,

    Wearsky

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