Answered by:
How to hide Sales, Marketing and Service from left hand navigation of account entity fro administrator role

Question
-
Hi all,
In crm 2011, I would like to hide Sales, Marketting and Service groups from the left hand navigation of the Account and Contact entities
I have already hided them from the sitemap sub area but I need to also hide them from the Account and Contact entity itself.
I do not want to use security role option as it will not work for administartor. I am looking forward to do it either through supported javscript or by editing xml file.
Any advice would be much apprecaited.
Thanks
Sunday, August 24, 2014 8:28 PM
Answers
-
Hi,
The answer was very simple just by configuration it can be done. Open the entity form and double clicking on one of the items on the lefthand navigation, the whole left hand navigation becomes enable and then can click on each item and remove them.
- Marked as answer by Maryam_r Thursday, September 4, 2014 3:55 AM
Thursday, September 4, 2014 3:55 AM
All replies
-
Hi,
You can use following function in JavaScript for the same and is supported for pre cross browser support version.
Xrm.Page.ui.navigation.items.get(“navigationlink_name”).setVisible(true/false);
For post UR 12, following unsupported code works fine.
Hope this helps.
-----------------------------------------------------------------------
Minal Dahiya
blog : http://minaldahiya.blogspot.com.au/
If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"Sunday, August 24, 2014 11:14 PM -
Thanks Minal but none of the above items works for me.
1-I tried
Xrm.Page.ui.navigation.items.get(“NA_SFA”).setVisible(true);
It does nothing.
I am on rollup 16 anyways so will not be helpful.
2-The second approach is accessing DOM so it is unsupported and in my case I do not want to use any unsupported code.
I wonder is there is any other ways?
Monday, August 25, 2014 12:40 AM -
http://srmscrm.wordpress.com/2013/10/01/hide-the-navigation-pane-items-in-ms-crm-2011/
http://rajeevpentyala.wordpress.com/2011/12/12/hide-navigation-items-pane-on-form-in-crm-2011/
- Proposed as answer by Rui Lloyd Alvares Wednesday, August 27, 2014 5:47 AM
Monday, August 25, 2014 9:13 AM -
Hi,
The answer was very simple just by configuration it can be done. Open the entity form and double clicking on one of the items on the lefthand navigation, the whole left hand navigation becomes enable and then can click on each item and remove them.
- Marked as answer by Maryam_r Thursday, September 4, 2014 3:55 AM
Thursday, September 4, 2014 3:55 AM -
hi Maryam,
just want to point out that you have removed the link from every one. Not just the administrators.
if this is the requirement, you are correct.
in some large organizations, there will be dedicated service desk members who will just add users. They are not allowed to see actual data. For them, you will have to follow the reply posted above.
my 2 cents.
regards
Jithesh
Thursday, September 4, 2014 12:31 PM