嵌套IFram时,CRM表单属性的使用

function Set_contract_prdetailIFrame() {
    var sArea = "new_contract_new_ordprdetail";
    var sBaseUrl = "areas.aspx?";
    var html = sBaseUrl;
    html += "oId=" + crmForm.ObjectId;
    html += "&oType=" + crmForm.ObjectTypeCode;
    html += "&security=" + crmFormSubmit.crmFormSubmitSecurity.value;
    html += "&roleOrd=1";
    html += "&tabSet=" + sArea;
    crmForm.all.IFRAME_contract_prdetail.src = html;
}

原文地址:https://www.cnblogs.com/hellohongfu/p/1898867.html