I have upgraded ms dynamics CRM Development environment from classic to UCI. my question is in account form i have contact sub-grid and i want to show primary contacts and affiliated contacts for this i have used external fetch filter in classic but when it comes to UCI this is not working. Is there any other solution.
Any quick answer please.
Used external fetch code :

tried with this one too but no use --> formContext.getControl("accountContactsGrid").getGrid().setParameter("fetchXml", fetchXml);