Skip to main content



No record found.

Async Save Feature+ Xrm.WebAPI+ Prevent Save – Conditionally restrict save for xrm webapi retrievemultiple call on save event Dataverse/ Dynamics 365

Sanjaya Prakash Pradhan Profile Picture Sanjaya Prakash Pra... 2,745 User Group Leader
In this blog post, we’ll walk through an asynchronous JavaScript function restrictAppointments_OnSave_Async with Xrm.WebAPI.ReatrieveMultipleRecord that accomplishes this by restricting the number of appointments a patient can have with the same doctor on the same day in a Dynamics 365 environment. Problem Statement The goal is to prevent a patient from booking more than two appointments…
Read more

This was originally posted here.


*This post is locked for comments