cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RuthJen
Frequent Visitor

Error message box

In a model driven app, is it possible to display error messages to the end-user in a message box if the validation fails?

1 ACCEPTED SOLUTION

Accepted Solutions
xrm
Frequent Visitor

Yes it is definitely possible and can be done in many ways 

  1. Business rule - If you need to validate something and show an error message on a specific field
    1. Create a business rule on that entity
    2. Add a condition
    3. Show error message based on the above condition
  2. Real-Time Workflow – 
    1. Go to Solution--> Processes
    2. Create a real-time workflow on that entity
    3. Add a check condition
    4. Stop Workflow with canceled --> Click on properties and enter your custom message in there
  3. Web Resource - Custom logic using JavaScript
  4. Plugin 

View solution in original post

1 REPLY 1
xrm
Frequent Visitor

Yes it is definitely possible and can be done in many ways 

  1. Business rule - If you need to validate something and show an error message on a specific field
    1. Create a business rule on that entity
    2. Add a condition
    3. Show error message based on the above condition
  2. Real-Time Workflow – 
    1. Go to Solution--> Processes
    2. Create a real-time workflow on that entity
    3. Add a check condition
    4. Stop Workflow with canceled --> Click on properties and enter your custom message in there
  3. Web Resource - Custom logic using JavaScript
  4. Plugin 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,655)