var formContext = executionContext.getFormContext();
const spouse = formContext.getAttribute("ips_spousename").getValue();
var quickViewControl = formContext.ui.quickForms.get("memberQuickView");
if (spouse !== null) {
quickViewControl.getControl("spouse_subGrid").setVisible(false);
quickViewControl.getControl("child_subGrid").setVisible(false);
quickViewControl.getControl("dependent_subGrid").setVisible(false);
}
Is this a known issue, is there any workarounds? I do not want to use ribbon workbench as the button will need to use in other condition.