I have a gallery (Gallery1) that navigates to a form viewer (FV1), On my formviewer I have a context variable that patch data on the selected item from Gallery1. Patch is working perfectly however after patching, the item on the formviewer changes.
I am figuring out how can I display the item selected from the gallery after patch.
Thanks in advance 🙂
Hi @Anonymous ,
I've made a similar test but not met the problem as your description.
Could you show me your screenshot and the settings of the form?
Here's my test:
Set the edit form's Item: Gallery1.Selected
Set the edit form's DefaultMode: FormMode.Edit
Set the submit button's OnSelect: SubmitForm(Form1)
After submitting the form, the form will display the selected item too.
Community Support Team _ Phoebe Liu
Having a similar issue here, which appeared out of no where.
Gallery1.Selected is used as the Item property on Form1 and Form2 (for attachments) on different screens.
When I select Record1 and make changes to it using one of the mentioned forms - everything works as expected.
However, after I go back to the Gallery1 and select Record5, the Form1 loads up with Record5 as the selected record and after a brief moment switches back to Record1. If I go back to the Gallery1, I can see that the selected record is in fact Record1.
Basically, Gallery1 selection switches back to the last modified record.
Check out new user group experience and if you are a leader please create your group
Next call is happening on April 21st at 8a PST.
May the fourth be with you, join us online!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.