So I have an app that has been working well for a while, and all of a sudden the SubmitForm(Form2) in OnSelect property has stopped working. It's a complex form that I will try to explain, including what I've tried already. Hoping someone might have another idea.
DataSource = SharePoint list
The app has two form screens with many fields of different types: text entry, directory drop-down, multi-select, Yes/No, etc.
Screen 1 = form with default Edit mode where employee fills out and submits information. SubmitForm(Form1) continues to work OnSelect.
Screen 2 = form with default view mode where supervisor reviews employee's entry then clicks an edit button to make comments and "sign" their name by picking from a directory list drop-down list. This SubmitForm(Form2) was working to update the SharePoint list item and then just stopped. No errors or other clues as to why it has stopped working. OnSuccess for the form holds the navigation and reset form commands, so when the submit button is selected, just nothing happens as it is not successful.
Notes - we are using Power Automate to send the supervisor an email when an employee submits a new form. This email contains a deep link that takes the supervisor directly to Form2 to view the record. We are not using a gallery at all as the information is confidential and we don't want anyone to be able to look up other people's entries. The only other code I have in the OnSelect property is Set(varSecureID, Blank()) as relates to the ID we are using for deep linking. Removing this code does nothing.
If I'm honest, the Patch function completely confuses me. And without a gallery, I'm not sure if it can be done. Besides that, it's possibly more than just the two fields the supervisor might update on the form. They could add commentary anywhere in the form, so a patch function would need to update any field - of which there are many.
Hoping someone can save my bacon! Happy to send screenshots if it is helpful.