function getFormName() {
var formLabel = Xrm.Page.ui.formSelector.getCurrentItem().getLabel();
alert(formLabel.toString());
if (formLabel == 'YourFormName') {
//Write your logic here.
}
}
var formLabel = Xrm.Page.ui.formSelector.getCurrentItem().getLabel();
alert(formLabel.toString());
if (formLabel == 'YourFormName') {
//Write your logic here.
}
}
No comments:
Post a Comment