I am not sure why but for some reason when I play the app , the save all button ( using "for all" and "patch") works perfectly but it doesn’t work when I click on the web link of the same app. Please see screenshot below with my formula.
Ideally, how it works is it is saving multiple records using "Save All" button, but the gallery should be clear/reset once I hit the save button. It works perfectly fine when I hit the "play" button from PowerApps but there are issues when I use the web link version of the same app. I would like to clear all the records/reset the gallery once I hit my SaveAll button.
@WarrenBelz - Please help. I see that you've been very helpful to other people in the community.
I’m using my “Day” column to determine my weekend date . For example- if data entry for day is 9/16 , then this formula I have for weekend date gives me Saturday’s date (9/19) in this case.
Yes it works perfectly when running it on the app, but the web link version is the problem. My formula for "Save All" button is -
WeekEndDate: ReviewDateDataCardValue.SelectedDate + 7 - Weekday(
I edit the records in the gallery using the "edit button". My gallery has some combo boxes and mostly text inputs, Project description and review date are populated from the form above, so that user doesn't have to manually enter a project and its pre-populated using a form.
The for all and patch function in the "Save All" button is used to save multiple records. On clicking "Save All" button in my app version, the gallery is reset automatically. Save all enables to get rid of all the records once saved so that user can't double-click and double save it. I see a blank screen again with only default values for review date and project description selected from the form above.
Now using the web link of the same version and see the difference. Hitting "Save All" button doesn't reset the gallery. I would like the gallery to reset like it does in the app version. The record just stays there in the web link version.
Thanks for your help in advance.
So the only issue in the "web link" version is the resetting of the gallery?
I cannot see anything in your code that "resets" the gallery - what are the Items of the Gallery?
In my case, I want to reset all individual controls in my gallery example- project description, accession number, reason, hours etc. Resetting them individually like Reset (Project description) doesn't work because my controls are in the gallery and I want to handle resetting on select of "Save All" button outside the gallery.
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021