Microsoft CRM 2011 HIde Section on a Form

How do you hide a section on a form?  
sjmeiners11Asked:
Who is Participating?
 
Chinmay PatelConnect With a Mentor Enterprise ArchitectCommented:
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
 
Chinmay PatelEnterprise ArchitectCommented:
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
 
sjmeiners11Author Commented:
Do I put that in the OnLoad Event on the form
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
Chinmay PatelEnterprise ArchitectCommented:
Yes.
0
 
sjmeiners11Author Commented:
Sorry for the delay.  I just tried and it is asking for a library first.
0
 
sjmeiners11Author Commented:
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
 
Chinmay PatelEnterprise ArchitectCommented:
You dont have to upload it you can create JS by clicking on text editor buttton when you are creating teh web resource.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.