Solved

Microsoft CRM 2011 HIde Section on a Form

Posted on 2011-09-06
7
584 Views
Last Modified: 2012-06-27
How do you hide a section on a form?  
0
Comment
Question by:sjmeiners11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 36491068
Hi sjmeiners11

Xrm.Page.ui.tabs.get("tabname").sections.get("sectionname").setVisible(false);

the names are not Display name here, they are uniqe names that you can get from the properties window.

Regards,
Chinmay.
0
 

Author Comment

by:sjmeiners11
ID: 36491226
Do I put that in the OnLoad Event on the form
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 36491231
Yes.
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:sjmeiners11
ID: 36496254
Sorry for the delay.  I just tried and it is asking for a library first.
0
 
LVL 27

Accepted Solution

by:
Chinmay Patel earned 500 total points
ID: 36496280
You will have to add a web resource in your solution and then put in that JavaScript there.
Check this link for references : http://ayazahmad.wordpress.com/2010/09/25/javascript-libraries-in-microsoft-dynamics-crm-2011/
0
 

Author Comment

by:sjmeiners11
ID: 36499906
This is good stuff.  I am kind of new to this part of the customizations but understand the logic.  Where do I find the JS Common Library to Upload as well as the URL?  
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 36500058
You dont have to upload it you can create JS by clicking on text editor buttton when you are creating teh web resource.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question