Display tabs on CRM2016 form based on Business process flow stage changes
// Attaching event onload of form
// Attaching event onload of form
function onload()
{
Xrm.Page.data.process. addOnStageChange(stagechange);
Xrm.Page.ui.tabs.get("tab_2"). setVisible(true);
}
function stagechange() {
alert("sucess");
Xrm.Page.ui.tabs.get("tab_2"). setVisible(false);
}
No comments:
Post a Comment