Hi Community,
I’m facing an issue in a model-driven app when working with the Associated Leads subgrid on the Contact form.
When I create a new Contact record, the Associated Leads subgrid throws this error:
The error appears only the first time on new record creation.
Once the Contact is saved, the subgrid loads fine.
Interestingly, if I zoom-in in the browser, the error temporarily disappears.
function hideSubgridOnCreate(executionContext) {
var formContext = executionContext.getFormContext();
if (formContext.ui.getFormType() === 1) { // Create form
formContext.ui.tabs.get("SUMMARY_TAB").sections.get("leads_subgrid_section").setVisible(false);
}
}
Daniyal Khaleel
130
DAnny3211
97
Abhilash Warrier
66
Super User 2025 Season 2