Hi,
I am trying to add the custom view to the lookup field and setting that custom view as the default view as below:
Xrm.Page.getControl(fieldName).addCustomView(viewId, 'product', viewDisplayName, fetchXml, layoutXml, true);
Please find the image below:
The line item field lookup shrinks.
![]()
*This post is locked for comments
I have the same question (0)