Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Hiding the footer in UI Outlook app

Posted on by Microsoft Employee

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! 

  • Verified answer
    Torrado Profile Picture
    Torrado 1,270 on at
    RE: Hiding the footer in UI Outlook app

    Hello,

    Probably that JavaScript function is not yet available for D365 for Outlook App. Even it uses the Unified Interface, the forms are still different, so probably the functions will be made available gradually.

    Also, there is no official documentation confirming that it works for D365 for Outlook app so, as best effort, you can try to clarify that directly with Microsoft by opening a case.

    Hope this helps you.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Hiding the footer in UI Outlook app

    I could be wrong, but I'm fairly certain the new version of the D365 for Outlook app uses the Unified Interface, as opposed to the old app that was separate.

  • Verified answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,319 on at
    RE: Hiding the footer in UI Outlook app

    Hi,

    Than you for your query.

    This functionality is only supported in the Unified Interface.

    As far as I know, this will not work for the Outlook App.

    setBodyVisible (Client API reference) in model-driven apps - Power Apps | Microsoft Docs

    pastedimage1621368633402v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans