web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

Restrict/Cancel Save operation conditionally in JavaScript as per Async operations result in Dynamics 365

Sanjaya Prakash Pradhan Profile Picture Sanjaya Prakash Pra... 2,745 User Group Leader
Sometimes you get requirements where you are doing some validation check in JavaScript by calling XRM.WebAPI or some Async operation and if validation failed, you want to restrict Save operation. If the call code is synchronous then there is no issues. But if the code is asynchronous, you need to take special care otherwise it…
Read more

This was originally posted here.

Comments

*This post is locked for comments