Hi,
I am using a Gallery to list customer records and a Form to show customer records selected in Gallery.
I am facing problem of Gallery getting reset once I click on button to save form.
I found similar problem others had previously and shared it on community forum. I tried all suggested solution in those old messages and still unable to resolve it.
I tried @WarrenBelz & @v-monli-msft suggested solutions in earlier messages in the year 2019 and 2022 and it is still not solving my problem. Gallery is getting reset when Save button save the attachment from the Form.
Gallery:
Default: Lookup( Database Table Name, 'Customer_ID' =varID)
OnSelect: UpdateContext({varID:ThisItem.'customer_ID'})
Form:
Save button is outside form.
OnSelect: SubmitForm(Customer_Form);
Attachment Card on Form:
Default: ThisItem.Attachments
Attachment Control in Card:
Default: blank
Items: Parent.Default
I am using attachment control on form and after attaching few files in attachment control when I submit form, the Gallery is reset and I loose selected row in gallery.
Any suggestions, Ideas, advice will be appreciated.

Report
All responses (
Answers (