I created a look up pop up with a query string and it works fine, but the lookup shown with one record chosen and I need it to be clear, I tried changing the values in the query string to find the way to cancel record selected but nothing worked, here is my code :
url = Xrm.Page.context.getClientUrl() "/_controls/lookup/lookupinfo.aspx?AllowFilterOff=0&DefaultType=" accountEntityCode "&DisableQuickFind=0&DisableViewPicker=0&LookupStyle=single&ShowNewButton=0&browse=0¤tObjectType=" entityTypeCode "¤tid={" priceLevelId "}&dType=0&mrsh=false&objecttypes=" accountEntityCode; Pointer.Utilities.openDialog(url, 600, 400, function (accountChoosen) { if (accountChoosen == null && accountChoosen == "" ) { return; } })