Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 589
  • Last Modified:

Microsoft CRM 2011 HIde Section on a Form

How do you hide a section on a form?  
0
sjmeiners11
Asked:
sjmeiners11
  • 4
  • 3
1 Solution
 
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
 
Chinmay PatelEnterprise ArchitectCommented:
Yes.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
sjmeiners11Author Commented:
Sorry for the delay.  I just tried and it is asking for a library first.
0
 
Chinmay PatelEnterprise 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
 
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

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now