Solved

Microsoft CRM 2011 HIde Section on a Form

Posted on 2011-09-06
7
583 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 II
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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