Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Custom confirm dialog box in case entity

$
0
0

Dear All,

i have a business requirement to create a custom confirm box on reactivate case button in case entity. in our case when we reactivate the case the sla records will also reinstate and sla timers will start running for this we have a workflow  to start sla timers. but our customers want one option like when user clicked on reactivate case button he should get one confirm dialog box with two options amend and reactivate. when he clicked on amend button he should able to reactivate the case not sla records and sla timers should not start. when he clicked on reactivate button he should be able reactivate the case and sla records should reinstate then sla timers should start. 

please help me on this.

i am trying with the below script but no luck:

function showConfirmDialog() {
debugger;
Xrm.Utility.confirmDialog("Do you want to reinstate SLA records ",
function() {
Mscrm.CommandBarActions.reactivate();
var date=new Date();
Xrm.Page.getAttribute("new_SLASTARTDATE").setValue(date);


},
function() {

Mscrm.CommandBarActions.reactivate();

});
}

Regards

Mahesh


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images