Hi everyone!
I have a lookup field Entitlement which is on Cases.
I added a quickView Form which has a subgrid with the Products associated for each Entitlement.
I want when i change the Entitlement to show/update the Products view .
I used this code :
function QuickViewFormRefresh() { var quickViewControl = Xrm.Page.ui.quickForms.get("quickViewEntitlementProducts"); if (quickViewControl != null) { setTimeout(function () { quickViewControl.refresh(); }, 500); } }
Problem is :
When you change the Entitlement to a new value , it also gets the null value and in this case the Products are not visible in the form .
Also , it doesn't work . It won't update the values. It shows only the ones of the previous lookup value.
Any ideas how to fix this?
*This post is locked for comments