Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

SubmitForm() resets the gallery it uses as a datasource



I have gallery. When someone selects a specific button on the gallery it brings them to a form which displays profile information. They can click edit, makes the form editable, and then when they click save it resets the gallery. The page suddenly acts like whatever the first item on the gallery was is selected. Is there a fix for this / is it supposed to do this? I feel like it did not always do this.


Thank you

Super User
Super User

@GeigerCDill Could you please tell me what's in the+,

The Item and Default property of you Gallery and the DataSource, Item and OnSuccess property of your Form.

@CNT Items: Sort(If(IsBlank(FilterSearchBox.Text),'Consolidated Billing CAGs',Search('Consolidated Billing CAGs',FilterSearchBox.Text,"CAG","Title","BillingSpecialistString","ARSpecialistString","ProgramMangerString","SalesRepString")),Title,Ascending)


Default is blank


The form utilizes more than one gallery depending on what the user selects

Item: If(AllProgramsButton=false,AllProgramsGallery.Selected,MyProgramsGallery.Selected)

DataSource: 'Consolidated Billing CAGs'

OnSuccess: false

@GeigerCDill You have 2 galleries. Which one is reverting back to the first record after submit?

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,929)