Hi All,
Currently I have built a Power Apps and connected to SharePoint List.
In my Power Apps, it have three list item
1) Beauty Company
2) Flower Company
3) Whiskey Company
When I chose to edit 2nd item of the list and updated and submitted the form (I named the edit form page as Edit Timeline) and back to the Detail Form (I named it as Review of Timeline), It cannot stay at the 2nd time but prompted to 1st item - Beauty Company. How can I make it to stay at the item I chose to edit in my Review of Timeline Page?
Example as per below:
At the main page, I have these three item and I clicked "Review Timeline" for 2nd item and bring me to the detail page (as per 2nd screenshot). Then I will need to click "edit" button to edit and it brings me to "Edit Page" - as per 3rd screenshot. After edited and clicked on "Submit" button, it will bring me to the detail page but the details shown 1st list item instead the one I edited recently
1st screenshot
2nd screenshot
3rd screeshot
4th Screenshot
Hope someone can really give some helps. Thank you in advance!
Hi @Django, I am desperate to find the solution. I am trying my luck to search for your help and hope maybe you can help me on this, please. Thank you so much
Regards, Hooi
Solved! Go to Solution.
Hi @Hooi ,
In your first screen you have a Gallery --> there you use the Default property to set the default selected item to the variable.
In your second screen you seem to have a Form Control --> here you use Item property to set the default selected item to the variable.
@Hooi When you say stay at the edited item means it should highlight the item which was edited recently, correct ?
Hi @rahul1406 yes you are right.
At the main page, I have these three item and I clicked "Review Timeline" and bring me to the detail page (as per 2nd screenshot). Then I will need to click "edit" button to edit and it brings me to "Edit Page" - as per 3rd screenshot. After edited and clicked on "Submit" button, it will bring me to the detail page but the details shown 1st list item instead the one I edited recently
Hi @Hooi!
Thank you for mentioning me 🙏
Could you check: Power Apps: Default item of Gallery after Form Submit » Knowhere365
Basically what seems to happen is that after a form submit --> the data source is refreshed --> then the gallery is reset.
If we use a variable to store the Default Selected Item in a gallery and when data source refreshes also refresh this variable --> the default selected item of the gallery should remain.
HI @Django , Thanks for your reply.
Sorry I am very new to Power Apps. I have followed the steps in your webpage you shared. However, I couldn't find "Default" property in my "Review Timeline" screen. Where should i put the formula for step 2 ?
Hi @Hooi ,
In your first screen you have a Gallery --> there you use the Default property to set the default selected item to the variable.
In your second screen you seem to have a Form Control --> here you use Item property to set the default selected item to the variable.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
207 | |
69 | |
49 | |
48 | |
19 |
User | Count |
---|---|
254 | |
123 | |
85 | |
75 | |
72 |