I have a screen that has a Gallery on the left hand side and when each item is clicked on it brings up the corresponding SharePoint form (in edit mode) on the right hand side where there is one mandatory field that needs to be completed before being Saved/Submitted. Once this mandatory field is completed, the item disappears from the gallery view.
I have added a text label that says something along the lines of "There are currently no submissions" which is set to display when the Gallery All Items Count = 0 (I have also set the SharePoint form component to be hidden when Gallery All Items Count = 0).
This all works fine, however only on the initial screen load. For example, if I have one item in the gallery which I then complete the SharePoint form for on the right hand side, the text label does not appear and the SharePoint form remains with a "No items found" message.
However, if I either refresh the page, or navigate to a new screen and back on to this screen, it works as expected. I therefore need to find a way to check how many items there are in the gallery after each item has been saved/submitted, and if it is equal to 0 then hide the form and display the text label.
Is there any way I can get this working as I need it to?

Report
All responses (
Answers (