Hiding the Command Bar and Navigation Bar in Dynamics 365

1 Comment

In Dynamics 365, we can hide the command bar and navigation bar through the Dynamics 365 browser URL. Let’s look at how to do this.

The navigation bar, or nav bar, is the top bar that has Dynamics 365 in the title. The command bar, or cmd bar, is the bar that has the New button etc:

Let’s look at a typical URL that displays an account. We see the formid and the id of the record:

https://yourorg.crm.dynamics.com/main.aspx?etc=1&extraqs=formid%3d8448b78f-8f42-454e-8e2a-f8196b0419af&id=%7bB293B650-73FF-E611-8104-E0071B669E61%7d&pagetype=entityrecord

If we add &cmdbar=false to the end of the URL, it will hide the command bar. So it should look like:

https://yourorg.crm.dynamics.com/main.aspx?etc=1&extraqs=formid%3d8448b78f-8f42-454e-8e2a-f8196b0419af&id=%7bB293B650-73FF-E611-8104-E0071B669E61%7d&pagetype=entityrecord&cmdbar=false:

If we add &navbar=off it will hide the nav bar. URL:

https://yourorg.crm.dynamics.com/main.aspx?etc=1&extraqs=formid%3d8448b78f-8f42-454e-8e2a-f8196b0419af&id=%7bB293B650-73FF-E611-8104-E0071B669E61%7d&pagetype=entityrecord&cmdbar=false&navbar=off#841249160

(Note the number like #841249160 appended to the end, ensure your parameters are before that)

 

 

THANKS FOR READING. BEFORE YOU LEAVE, I NEED YOUR HELP.
 

I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.

IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.

THANK YOU, AND LET'S KEEP LEARNING TOGETHER.

CARL

https://www.youtube.com/carldesouza

 

ABOUT CARL DE SOUZA

Carl de Souza is a developer and architect focusing on Microsoft Dynamics 365, Power BI, Azure, and AI.

carldesouza.comLinkedIn Twitter | YouTube

 

One Response to Hiding the Command Bar and Navigation Bar in Dynamics 365

  1. Hi thanks for the post. I am using a navigate action to open QueueItem default view and want to hide navigation bar for the same. When I use navbar = off in the url then navigation bar gets hidden but I am unable to open any workitem from the queueitem view. When I use HideNavigationBar = true then it working absolutely fine.

    Do you have any idea why is it behaving weird on using navbar=off, It is only happening with QueueItem view but for other entity views it is working fine. Also I noticed this issue is coming only when using Unified Service Client. Please suggest if you have any idea about it.

Leave a Reply

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