Dear all,
Now i've just generate new View A for my custome entity.
And add this View A as default for the lookup control B:
var lookupControl = Xrm.Page.getControl(lookupControlId);lookupControl.addCustomView(viewId, entityName, viewDisplayName, fetchXml, layoutXML, true);
After that I want to disable view selector by using: document.getElementById(lookupControlId).setAttribute('disableViewPicker', "1");
It's ok to disable view selector but no record display in my custom view. If I not disable view selector -> all possible record displayed well in the custome view.
Any idea for it?
If my question/answer can help you, please give me a points :) ----You may be disappointed if you fail, but you are doomed if you don't try---