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
Solved! Go to Solution.
Hi @muralikrishna12 ,
I'm sorry I don't know if I understand your needs, could you tell me if my assumptions are correct?
If so , the point is to set the Item property of Edit form. I set a variable.
Please refer to the steps below:
1\ Show the location of the controls
In home screen:
In ‘EditScreen1’ screen
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.
Best Regards,
Wearsky
Hi @muralikrishna12 ,
I'm sorry I don't know if I understand your needs, could you tell me if my assumptions are correct?
If so , the point is to set the Item property of Edit form. I set a variable.
Please refer to the steps below:
1\ Show the location of the controls
In home screen:
In ‘EditScreen1’ screen
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.
Best Regards,
Wearsky
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.