Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Trying to figure out where is an alertDialog called from while Resolving Case

Posted on by 30

Hello CRM Experts,

My question is quite simple, but resolution seems a bit harder than it looks, i guess.

When I am Resolving a Case and there is this missing field on our form, there is an alert that pops up, saying that this field is not filled, and I would like to understand where is this defined. As we lost this functionality in other environments and wished to understand how I can restore it.

I have been looking in all WebResources with VS Studio Code, I'm performing a search over all WRs and still can't find anything calling an AlertDialog or, having that particular message.

Am I missing something, is there another place where this alert could have been called?

I'm resolving a case from the ribbon button "Resolve Case" 

pastedimage1665672665964v1.png

pastedimage1665672724667v2.png

pastedimage1665672735574v3.png

Best regards,

Tihomir Bogoslovov

  • Verified answer
    Saeid G Profile Picture
    Saeid G 140 on at
    RE: Trying to figure out where is an alertDialog called from while Resolving Case

    Resolve Case is Microsoft Out Of Box dialogue so it makes sense to not display the non user friendly error of the Plugins. You probably should be happy.

    I have never liked the OOB Resolve Case but luckily with new feature released by Microsoft you can change the ugly dialogue to custom form.

    Follow the steps in this document:

    learn.microsoft.com/.../modify-case-resolution-dialog

  • Suggested answer
    wYh0iUt Profile Picture
    wYh0iUt 30 on at
    RE: Trying to figure out where is an alertDialog called from while Resolving Case

    Alright, I've found what was the problem.

    It was a plugin that is running on preUpdate and throws an InvalidPluginExecutionException.

    if (string.IsNullOrEmpty(solution))
        throw new InvalidPluginExecutionException("Por favor preencha o campo solução antes de resolver o Case");

    But then what still bugs me is, how this invalidPluginExecutionException has this style of an Alert and, it doesn't look like a normal InvalidPluginExecutionException.

    Like this one here, 

    InvalidPluginExecutionException no longer returning a "nice" user message  in CRM 365 9.1.0.2842 when resolving cases (incident entity) - Microsoft  Dynamics CRM Forum Community Forum

    Any idea why the alert looks different than this one here? :) 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans