调用CRM自己的Dialogue
var DialogOption = new Xrm.DialogOptions;
DialogOption.width = document.body.clientWidth * 0.9;
DialogOption.height = document.body.clientHeight * 0.9;
Xrm.Internal.openDialog(url, DialogOption, null, null, function (returnValue) {
console.log('调用成功 返回值:' + returnValue);
});
弹出框中的返回值设置
Mscrm.Utilities.setReturnValue(oReturn);
posted on 2016-04-01 14:23 HelloHongfu 阅读(521) 评论(0) 编辑 收藏 举报