Tip #200: Now you see it now you don’t

As you may or may not know, Unified Service Desk (USD) has made its appearance alongside with CRM 2013 SP1 in May 2014. It makes use of User Interface Integration (UII) SDK capabilities that has been part of Dynamics CRM SDK download since December 2013. We thought it was important back then but now there are other reasons to be excited about it.

USD makes use of UII capabilities and is delivered within CRM overall framework but to make it work, the team had to add some features that’s been on our wishlist for a long time. One of these features is ability to hide navigation elements of the URL addressable forms, views, dialogs and reports.

The following are the query string parameters used with the main.aspx page to open entity forms or views:

navbar

…Controls whether the navigation bar is displayed and whether application navigation is available using the areas and subareas defined in the sitemap.

  • on — The navigation bar is displayed. This is the default behavior if the navbar parameter is not used.
  • off — The navigation bar is not displayed. People can navigate using other user interface elements or the back and forward buttons.
  • entity — On an entity form, only the navigation options for related entities are available. After navigating to a related entity, a back button is displayed in the navigation bar to allow returning to the original record.

cmdbar

…Controls whether the command bar is displayed.

  • true — The command bar is displayed. This is the default.
  • false — The command bar is hidden.

For example, try dropping the following into your browser and you should see Active Contacts view in a naked browser:

https://<your CRM URL>/main.aspx?etn=contact&pagetype=entitylist&viewid={00000000-0000-0000-00AA-000010001004}&viewtype=1039&navbar=off&cmdbar=false

What’s great about it is that now you can embed CRM views and forms into other web pages in iframes and drop them into portals or SharePoint. And if you have single sign-on sorted out, users won’t even know that it came from CRM.

This tip was a timely reminder from Mark “Sweet nzCRMguy As” Smith

7 thoughts on “Tip #200: Now you see it now you don’t

  1. Chitra says:

    navbar parameter option does not work. I know this parameter mentioned in the msdn but it will not work when you try .

    http://msdn.microsoft.com/en-us/library/gg328483.aspx

  2. Jorge Rodriguez Breuning says:

    It does not work for entity list page type. We have CRM 2013 SP1 on premises installed.

    Sample

    • Jorge,

      good find, looks you cannot enforce things to appear where they don’t appear by default, i.e. listview does not have a command bar so you can’t force it. But you can make things disappear, e.g. in your example try adding cmdbar=false.

      If you really want a navbar, try wrapping view into something like dashboard.

      Cheers
      George

  3. skfd says:

    `navbar=on` does not work for me too. Online 2015.

    There’s a lot of google hits with the same problem and even a connect issue.

    Are we missing something?

Leave a Reply

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