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 

View solution in original post

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

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

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Kudoed Authors
Users online (26,715)