[英]How To Filter 1:N Add Existing Lookup Dynamics CRM 2013?
Do you know how can we filter 1:N "Add Existing Lookup" at Dynamics CRM 2013 ? 您知道如何在Dynamics CRM 2013中过滤1:N“添加现有查询”吗?
We tried this part, but it doesnt work anymore in CRM 2013: 我们尝试了这一部分,但在CRM 2013中不再起作用:
var lookupItems = LookupObjects(null, "multi", gridTypeCode, 0, null, "", null, null, null, null, null, null, viewId, [customView]);
You should change your LookupObjects function to LookupObjectsWithCallback function: 您应该将LookupObjects函数更改为LookupObjectsWithCallback函数:
LookupObjectsWithCallback(callbackReference, null, "multi", gridTypeCode, 0, null, "", null, null, null, null, null, null, viewId, [customView]);
Where your callbackReference
is an object with property callback
: 其中您的
callbackReference
是具有属性callback
的对象:
callbackReference: {
callback: function (lookupItems) {
// Do something with selected items.
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.