I have a PowerAPP based on a Sharepoint List with an attachment field. My APP has three screens:
The problem is that all the field are saved and also the attachment but in the Browse screen it doesn't appear (instead into the sharepoint list you can find it). To make it appared in my APP I have to come again into the Edit screen, put again the attachment into the attachment control and clicking again "Done".
After this second action the attachment is finally viewed also into the Browse screen.
Is this a bug that I can solve in some way? Thank you
Solved! Go to Solution.
Hi @ailedac
Hi @ailedac
Hi @ailedac ,
Could you please share a bit more about your issue?
Do you mean that the uploaded attachment file would not displayed within the Detail form when you submit an new record along with a attachment?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please check if you have bind the Display form to the specific item selected in the Gallery within your List screen.
I assume that you use a Gallery within your List screen to list all records from your SP list, please make sure the Item property of the Display form in your browse screen set to following formula:
BrowseGallery1.Selected /* <-- BrowseGallery1 represents the Gallery in your List screen */
In addition, please also consider add the following formula within the OnSuccess property of the Edit form in your Edit screen:
Refresh('YourSPList'); /* <-- Add this formula */
Back()
Set the OnVisible property of your Browse screen to following:
Refresh('YourSPList');
Please take a try with above formula, then check if the issue is solved.
Best regards,
Tried both methods. SharePoint list updates perfectly but the Sharepoint list's view refreshes in the app only when an additional item is added to the list. I have tried giving Refresh(SP_List) on visible of view page and on submit button. Is there any alternate solution. Thanks
| User | Count |
|---|---|
| 110 | |
| 70 | |
| 33 | |
| 23 | |
| 22 |
| User | Count |
|---|---|
| 199 | |
| 60 | |
| 54 | |
| 52 | |
| 48 |