[英]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.