Hi Team
in my JS in the else condition ..i need to set defaultview as null/empty.
i am using the below code :
if (fetchXml !== undefined) {
formContext.getControl(accountFieldName).addCustomView(viewId, entityName, viewDisplayName, fetchXml, layoutXml, true);
formContext.getControl(accountFieldName).setDefaultView(viewId);
}
}
else {
formContext.getControl(accountFieldName).setDefaultView("");
}
the above code is working fine in classic UI but in the UCI ...we are facing issue as
*This post is locked for comments