How To Filter 1:N Add Existing Lookup Dynamics CRM 2013?

别说谁变了你拦得住时间么 提交于 2019-12-12 01:44:33

问题


Do you know how can we filter 1:N "Add Existing Lookup" at Dynamics CRM 2013 ?

We tried this part, but it doesnt work anymore in CRM 2013:

var lookupItems = LookupObjects(null, "multi", gridTypeCode, 0, null, "", null, null, null, null, null, null, viewId, [customView]);

回答1:


You should change your LookupObjects function to LookupObjectsWithCallback function:

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: function (lookupItems) {    
          // Do something with selected items.
   }
}


来源:https://stackoverflow.com/questions/21313363/how-to-filter-1n-add-existing-lookup-dynamics-crm-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!