cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Maximilian
Helper I
Helper I

Surpressing server response error

I have an entity which has a possibility to edit its' data via editable form. I have a dropdown field which upon selecting specific value - makes the record disappear from entity. Otherwise you simply are able to edit the entity record fields.

 

There are two options:

  1. Use edit form to make changes -> Do not select the specific dropdown value -> Save -> Data saved. No errors returned.

  2. Use edit form to make changes -> Select the specific dropdown value -> Save -> Data saved. Record no longer visible in entity as intended, but it returns error.

Everything works as it should, but it shows me an error for some reason. Is there a way to surpress it?

 

Error:notfound.PNG

 

I don't have a complicated formula, the error shows up on my button OnSelect property:

SubmitForm(EditForm);

Apparently, it seems as if it updates the information, then the record disappears from entity due to how the entity works with its' conditions (remove record if the specific field contains certain value from dropdown) and then it is trying to figure out where did the record go - why? Information is already saved and then gone. 

 

 

1 REPLY 1
Maximilian
Helper I
Helper I

Giving the thread a bump since at first it was marked as spam and is now getting lost in the later pages.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,102)