cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MAV_CB
Microsoft
Microsoft

SubmitForm command changes Gallery.Selected item record

I have an app connected to a SharePoint list. I have a form that is in Edit Mode, and loading from a Gallery via .Selected property. After submitting changes successfully, the Edit Form control is changing the .Selected value to the first record in the data source set. This should not be happening, it should just load the currently selected record. I noticed this change today and last worked on the app late last week. Anyone know why this would happen? I haven't changed anything in the code since last week :(.

 

Thanks!

40 REPLIES 40
GK_BPL
Advocate I
Advocate I

Hi, if i'm not mistaken I think I'm having the same Issue, I tried to do what @JoshHoughton said but the CustomVariable didn't work.

This thing is happening in all of my apps, can anyone please help me find a solution cause I've been trying all week?

 

Here is a link to my post:

https://powerusers.microsoft.com/t5/General-Discussion/bug-issue-when-saving-form/m-p/142837#M49062

 

 

Thank you very much

 

 

Was this issue fixed? I am seeing this on my app.

jvdlinden
Kudo Collector
Kudo Collector

I am still facing this issue and it is being investigated by an Microsoft Support Engineer.
Anonymous
Not applicable

I havent used PowerApps since earlier this year.  I would very much like to come back to it but for now, its a lot of work(arounds) to do things it is supposed to do out of the box.  Some issues sit for months or longer without attention.  My belief is that new features are taking precedence.  If Microsoft were hemoraging money or teetering on solvency, I could understand developing new features as a primary means of product growth but I hardly believe that is the case.

 

My belief is that in development, you take care features that should work, now.  This is so the people who are utilizing the current feature sets are productive and are not frustrated and go away.  This is also so you as a front-line user and developer go onto to tell others of the wonderful things about this new product you are using.  This is what I would call a win-win situation.  Contrarily, you are dissatisfied because a year or two has gone by and fundamental features still do not work and you've seen others ask about the same features without resolution.

 

A definite must read is "Raving Fans" by Ken Blanchard.  Its all about customer service.  Development is not only about technology, its about customer service and that is what we are missing when an egregious, confusing, painful, long-standing issue hasnt been addressed that is fundamental to how the program is designed to work.

Has there been any progress on this? Seeing this in an app I'm developing via the web editor

Anonymous
Not applicable

This error is happening for me. I'm using latest version of Powerapps and Windows. Please Help! Making app for large company.

 

Thakn you,

Ronny

hello @Anonymous

 

Are you having the same issue as in the gif in the following link ?? :

https://powerusers.microsoft.com/t5/General-Discussion/bug-issue-when-saving-form/m-p/142837#M49062

 

 

🙂

iamlee
Resolver I
Resolver I

I am seeing the same. I have a Sort and a Filter in my Gallery and after removing the Sort function, it works perfectly fine. Is there any news yet from Microsoft? It seems to be a bug. Now I have to choose between user experience and functionality. 

Anonymous
Not applicable

I am experiencing this same issue. When a form is submitted, even if there is no action OnSuccess or OnFailue my selected Gallery item will reset to the first in the list. 

 

Although I could use a workaround to directly reference the gallery item, the default solution would be much less complex. 

I was able to fix it, someone from thos forum gave me a solution (sorry couldn’t find the post).

Set the selected gallery item as a global variable - e.g Set(ID, gallery.selected.id)

Worked for me without fail.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (5,004)