Hello Power Apps Community!
We are about to launch the new time reporting app I've created (thanks to the help from everyone here), and I've noticed that after the user hit's the 'Submit Button' and returns to the 'Time Entry' screen that the values are still visible in the Gallery. This did not happen when I was testing, but I believe that's because I have admin rights?
Here is the 'Items' function for the Gallery:
FirstN('LIST NAME',20)
Here is the code for the 'Submit Button':
Office365Outlook.SendEmailV2(
EmployeeEmail_3.Text, "Time Entry Submited - " &WeekEnding_4.Text, HtmlText1_1.HtmlText
)
;
ForAll(
Gallery1_3.AllItems,
If(
!IsBlank(ComboBox1.Selected.Result),
Patch(
'LIST NAME',
Defaults('LIST NAME'),
{
WeekEnding: DateValue(WeekEnding_4.Text),
HoursWorked: Value(TimeWorked_4.Text),
WeekNotes: Notes1_4.Text,
Client: ComboBox1.Selected.Result,
JobNumber: Dropdown2.SelectedText.Value,
Employee: EmployeeName_3.Text,
Rate: Dropdown1.SelectedText.Value
}
)
)
);
Navigate(Confirmation,
None)

Report
All responses (
Answers (