Hiding the left navigation panel on a CRM entity

This one started as a weird requirement, although it was totally justified from the clients perspective. In one of our customers deployment there was a very simple entity that didn’t require to show the left hand side navigation panel and for User Experience’s sake it was decided that this navigation panel should go.

Obviously there is no supported way of doing this, however, we are dealing as usual with HTML and JavaScript and you can always do some unsupported manipulations. Moreover, Microsoft Dynamics CRM application uses a similar trick when presenting an entity’s form in some special occasions like the workflows and form designer.

So, with some bits of JavaScript on the on-load event we can manage to change the display of the navigation items to none, and modify the main form area to automatically expand to cover the space left. Here is the code for the onload.

One thought on “Hiding the left navigation panel on a CRM entity

  1. Awesome little trick dude – these are some of those unsupported hacks you mentioned @ Epicenter eh? 😉

    Have you ever hooked jQuery into CRM?

Leave a Comment Yourself

Your email address will not be published. Required fields are marked *