博文
crm简单属性(2009-09-01 03:36:00)
摘要:ObjectId: crmForm.ObjectIdObjectTypeCode: crmForm.ObjectTypeCodeSecurity: crmFormSubmit.crmFormSubmitSecurity.value
下面举个例子, 比如在 contact entity form 中有一个 IFRAME_HistoryFrame 来显示activities history的。在onload 中, 需要:
function GetFrameSource(tabSet){ if (crmForm.ObjectId != null) { var oId = crmForm.ObjectId; var oType = crmForm.ObjectTypeCode; var security = crmFormSubmit.crmFormSubmitSecurity.value; return "areas.aspx?oId=" + oId + "&oType=" + oType + "&security=" + security + "&tabSet=" + tabSet; } else { return "about:blank"; }}
crmForm.all.IFRAME_HistoryFrame.src = GetFrameSource("areaActiv......
