(preface: I am new to developing PowerApps in general. I got thrown in the deep end by my boss about a month ago haha...)
Hello,
I understand that through the OnSuccess/OnFailure properties of a form, you are able to dictate what happens if SubmitForm() is unsuccessful... unfortunately I have noticed that no such capability exists for Remove()...
For now, I intend to at least inform the user if there are any errors in the data source through Notify() or a label. In any case, I am trying to retrieve the ErrorKind (e.g. ErrorKind.Unknown) from the Error column of the table generated by Errors(), and storing it in some form which an if statement could make sense of, and then trigger an error message to appear to the user.
How do you suggest I go about doing this?
[https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-errors]

Report
All responses (
Answers (