Hi folks, hopefully an easy question! I'm trying my hand a bit of JS to simply hide the footer in an app (specifically, the D365 for Outlook app). I've tried a number of things but haven't had any success - this is my current script:
function HideFooter() {
// Run on form load
this.formOnLoad = function (executionContext) {
var formContext = executionContext.getFormContext();
formContext.ui.footerSection.setVisible(false); // Hide the footer
}
}
Any ideas what I'm doing wrong? The below article seems to handle the problem but it looks far more complex than I think I need.
community.dynamics.com/.../managing-header-and-footer-of-the-form-in-dynamics-365-using-client-api
Many thanks in advance!