cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GeigerCDill
Helper II
Helper II

SubmitForm() resets the gallery it uses as a datasource

Hello,

 

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

3 REPLIES 3
CNT
Community Champion
Community Champion

@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

CNT
Community Champion
Community Champion

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

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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