Tuesday, October 21, 2025

Create - Pre Operation - Dataverse Accelerator

 Introduction:


In this Blog, we will see how to Create Pre-Operation Plugin in Dataverse Accelerator

Validations:

In Contact if user selects Date of Birth greater than todays date throw Error

Implementation Steps:

  • Navigate to https://make.powerapps.com

  • Click Apps

  • Open Dataverse Accelerator App

  • Click New Button



  • Select New Automated Plugins

  • Input Display Name

  • Select Table Name as Contact

  • Select Run this Plugin as
    • Create Operation

  • Input Below Expression
    • If(NewRecord.birthdate > Now(), Error("Birthday Cannot be future"))

  • Then Select when this Plugin Should Trigger
    • In our case it is PRE-Operation

  • Select Solution
    • ​​​​​​​Plugin to store

  • ​​​​​​​

  • Once you done this Click Save Button on the TOP

  • Once Saved Navigate to Dataverse

  • Click Contact

  • Select New

  • Fill all the Mandatory details

  • Input Date Of Birth as Future date and Save
Conclusion:

This can be achieved in Plugins but in Dataverse/MSCRM we are having NoCode Low Code operation to achieve the same.

YouTube Link for your Reference : https://www.youtube.com/@rampprakash3991

1 comment:

  1. This is a very detailed and practical guide! The step-by-step explanation for creating a Pre-Operation Plugin in Dataverse makes it easy to understand, even for someone new to Microsoft Dynamics CRM. The examples for validation and plugin setup are especially helpful. For further insights on implementing Microsoft Dynamics solutions, you can check out Microsoft Dynamics Business Central solutions.

    ReplyDelete

How to disable Form JavaScript Using URL in Model Driven app and MSCRM

  Introduction : How to disable Form JavaScript Using URL in Model Driven app and MSCRM . Implementation Steps: Navigate to your Environment...