Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Is it possible to use Incident resolution entity in my custom web resource for resolving cases

(0) ShareShare
ReportReport
Posted on by 2,152

Hi all.

So quick question. I know the standard out of the box method for resolving cases is the pop out of the modal incident resolution entity from which you select status, billable hours, remarks etc. But is there a way to call the modal but use it in my own custom javascript web resource? Like mimic the whole out of the box case resolution method but using my own javascript function as opposed to the out of the box one? I need this cause I want o do a 

The reason being is I want to do some additional case update functions before resolving the case. 

So it'll go like this:

Replace the resolve button on cases with my custom one. I still want to call the case resolution modal but when they resolve the case it performs a call back function which then updates a field on cases.

Mike

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Is it possible to use Incident resolution entity in my custom web resource for resolving cases

    Hi MikeC282,

    Yes, it is possible. You could create a JS web resource and call the Resolve Case Button's OOB function in the successful callback function of updating case. And you could found this function at here:

    Snipaste_5F00_2022_2D00_03_2D00_08_5F00_14_2D00_21_2D00_53.png

    Below is my test:

    JS web resource:

    function customResolveCase(){
    	console.log("Hello World");
    	//update code
    	
    	CrmService.IncidentRibbon.CommandBarActions.resolve();
    }

    Add a Custom Button on Case entity and use that JS web resource as command:

    Snipaste_5F00_2022_2D00_03_2D00_08_5F00_14_2D00_24_2D00_23.png Snipaste_5F00_2022_2D00_03_2D00_08_5F00_14_2D00_24_2D00_06.png

    Result:

    Animation.gif

    Reference:

    How to override out of the box button’s behavior in ms crm – Dynamics 365 CE/Power Platform, PowerApps, Power Automate, Azure by Vishal Grade

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Is it possible to use Incident resolution entity in my custom web resource for resolving cases

    HI,

    You can easily perform additonal case update before resolving the case by registering the plugin on Incident Resolution entity Pre-operation create stage.

    You don't need to replace OOB button also.,

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans