Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

how to write javascript code Client API Reference formContext.ui.sections getVisible (Client API reference)

(0) ShareShare
ReportReport
Posted on by 110

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: how to write javascript code Client API Reference formContext.ui.sections getVisible (Client API reference)

    Try with this  -

    function getSectionVisibility(executionContext) {
        var formContext = executionContext.getFormContext();
        var tabObj = formContext.ui.tabs.get("TabName");
        var sectionObj = tabObj.sections.get("SectionName");
        var IsSectionVisible = sectionObj.getVisible(); //IsSectionVisible will return true or false if the section visible then true otherwise false
    }


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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans