Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Hide Sections in Dynamics CRM

(0) ShareShare
ReportReport
Posted on by

i create function named hidesection() in the OnLoad event of account entity.

function hidesection(tabName, sectionName, flag) {
Xrm.Page.ui.tabs.get("Summary_tab").sections.get("products").setVisible(false);
}

this function work fine for the web client but when i open account entity in the mobile express CRM i see error message "cannot call methode set visible of null"

can anyone help me with this issue.

*This post is locked for comments

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: Hide Sections in Dynamics CRM

    Hi Jason

    JavaScripts are not supported on mobile express

    books.google.com.au/books;pg=PA280&lpg=PA280&dq=javascript+for+ms+crm+mobile+express&source=bl&ots=7bhtQjcaYO&sig=WsBcXokK21N8aCQWFgm8NCy398I&hl=en&sa=X&ved=0ahUKEwiwhraEv77PAhWMjZQKHQHbByUQ6AEIPjAH#v=onepage&q=javascript%20for%20ms%20crm%20mobile%20express&f=false

    Although mobile and tablet app do support JavaScript. If you are using mobile app, there are certain JavaScript utilities which are explained in the URL provided by Necdet

  • RE: Hide Sections in Dynamics CRM

    yes i know  they support javascript but i dont know why the mobile express CRM didnt read the section name,he shows an error ""cannot call methode set visible of null".

  • necsa Profile Picture
    necsa 3,455 on at
    RE: Hide Sections in Dynamics CRM

    Hi Dynamics Jason,

    Mobile form and Mobile App support Javascript.

    Please read the below how to write JS

    www.dynamicscrmpros.com/microsoft-dynamics-crm-2013-mobile-client-javascript-play-nice-together

    msdn.microsoft.com/.../dn481572.aspx

    Thanks to Saravanakumar VE. Hope that helps.

    Happy Coding

    Necdet Saritas

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans