![](/img/trans.png)
[英]Lookup contacts instead of accounts on emails in MS Dynamics CRM 2013
[英]MS Dynamics CRM - how to test for presence of Notes records within Accounts
我需要检查(OnLoad)帐户是否已添加便笺。 我尝试使用工作流进行此操作,但是仅在添加便笺后进行测试,而不是如果它们已经存在时进行测试,即“更改时”,“更新时”,“状态更改”等。
还尝试通过JavaScript访问Notes,但似乎无法访问该属性。 如果有帮助,将在此处粘贴JScript,尽管这可能是错误的方法。
function NotesAlert() {
// the 'notestext' field is the Notes description area
var NotesDesc = Xrm.Page.getAttribute("notestext").getValue();
if(NotesDesc !=null) {
Xrm.Page.getAttribute("dt_legacyuserurn").setValue("Notes exist for
this Acc");
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.