Link to home
Start Free TrialLog in
Avatar of sjmeiners11
sjmeiners11Flag for United States of America

asked on

Microsoft CRM 2011 HIde Section on a Form

How do you hide a section on a form?  
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

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.
Avatar of sjmeiners11

ASKER

Do I put that in the OnLoad Event on the form
Sorry for the delay.  I just tried and it is asking for a library first.
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?  
You dont have to upload it you can create JS by clicking on text editor buttton when you are creating teh web resource.