A bug has occurred since the last version of powerapps (3.19052.19)
Since the last update, my entire application is no longer working.
The Fields displaying the information from the selected item in the gallery no longer display anything or display data from another item.
From now on, there is a problem with Gallery.selected and I do not know why ...
is there a way to fix it?
Solved! Go to Solution.
@Ginevra I know there used to be performance benefits to using global variables vs. screen variables, but I'm not sure there is much difference anymore. If you'd prefer to update your formuals to use global variables, the same effect can be achieved.
If you can use SubmitForm(), it is a better approach since you can handle errors in OnFailure, and handle success in OnSuccess. If you must use Patch(), see this post about detecting errors: https://powerusers.microsoft.com/t5/General-Discussion/Making-sure-a-patch-is-successful/td-p/124500
Both approaches are fine--it's just that Patch requires a little more work.