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
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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (47,442)