Hi community
I've got the requirement to create a custom button in the Case entity ribbon that a helpdesk agent can use to create and resolve a Case in one easy step.
The idea is that:
I can get the last 3 button points done using a real-time workflow.
What I've tried to do, is using Ribbon Workbench to:
Can someone confirm if I'm using the correct Jscript library? Or even approach?
Thanks very much
Rean
Hi Reanm,
Here is the path
$webresource:Service/Incident/Ribbon/Incident_ribbon_library.js
CrmService.IncidentRibbon.CommandBarActions.resolve
You can modify the case resolution form to achieve your functionality.
docs.microsoft.com/.../customer-service-hub-user-guide-modify-case-resolution-dialog
Hope this helps
Best Regards
PG
Hi Pankaj
Thanks for your reply.
I don't want to use the Case Resolution Dialog popup/quick create when resolving the case.
I want to do it via a workflow.
Thus the need for me to know what the Javascript webresource and function are to call an ondemand workflow in the UCI.
Thanks again
Hi,
Please check this code for calling a workflow using Javascript.
carldesouza.com/.../
www.inogic.com/.../
Hi Partner,
Actually you don't need to modify the OOB save button JS function. You could add another new Command and add your custom JS function into a new web resource and call this function in new Command.
And if you want to call workflow, you could use Web Api.
https://chandanakommuri.wordpress.com/2019/01/25/execute-workflow-using-xrm-webapi-in-dynamics-crm-version-9-0/
https://community.dynamics.com/crm/b/debajitcrm/posts/execute-workflow-using-xrm-webapi-in-dynamics-crm-version-9-0
https://carldesouza.com/calling-a-dynamics-365-workflow-through-javascript/
Best Regards,
Leo
I have implemented similar requirement. Please check below if it can helps you:
crmtipsbyprm.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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 60 Super User 2025 Season 2
Siv Sagar 52 Super User 2025 Season 2
Daniyal Khaleel 36 Most Valuable Professional