Hi all,
Fairly new to Powerapps and seem to be having a very frustrating problem that I am yet to find an answer for.
I have one data source which is a sharepoint list with 'attachments' enabled. I am using a gallery (Gallery2) to select a shop which in turn controls a form (Form2) that is displaying the 'attachment' field. Therefore allowing me to view, upload and delete attachments associated with a specific shop and the sharepoint list dataset.
I then have a 'submit' button which it's 'OnSelect' property is set to 'Submitform(Form2)' used to save the change on the Sharepoint list.
This works as expected and intentionally stays in DisplayMode_Edit.
The problem I am having is that once a file is attached/removed and submitted the form does not display this change unless I select a different shop and then click back onto the shop of which I have just attached/removed the file. I thought that if I then add the 'Reset' function to my submit button it would resolve the issues - Onselect=SubmitForm(Form2);ResetForm(Form2) however this doesn't have the desired affect, I also tried 'resetting' the Gallery, again no luck.
I will be most greatful if someone can help with this!!! Alternatively if there is a way to set the default value of the gallery to 'No item to display' (as it appears on first load) this would also work as it would force the user to reselect the shop which I hope in turn would reflect the change.
I really hope that all makes sense!