
A quick search of the “interweb” seems to indicate a lot of people wanting to open a CRM View (like Active Contacts for example) via script or a direct URL.
exhibit A:
https://yourorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entitylist&viewid=%7b00000000-0000-0000-00AA-000010001004%7d&viewtype=1039&navbar=on&cmdbar=true
This is all fine and dandy, but it results in the View opening without the navbar.
Hang on, notice I’ve already stated “&navbar=on” in my URL above?!?
I checked the Microsoft documentation (http://msdn.microsoft.com/en-us/library/gg328483.aspx) which indicates a simple “&navbar=on” should do the trick. Problem is, it doesn’t.
As MVP Natraj Yegnaraman noted a few years ago in a vote/submission to fix the problem: https://ideas.dynamics.com/ideas/dynamics-crm/933969 it’s unclear why this is the case.
Now Microsoft’s response has been a bit slow and obtuse on this one. Apparently it’s being considered for a future release. Other comments from MS Support seemed to indicate it was “by design” and showing the NavBar on Views was not supported. Either way it seems pretty clear. Either update the documentation to remove the parameter (as it doesn’t work), or fix it.
There’s sometimes a silver lining to these things, or a workaround at least.
Here it is for this particular problem (this is unofficial and could possibly stop working in future):
exhibit B:
https://yourorg.crm.dynamics.com/main.aspx?etn=contact&pagetype=entitylist&viewid=%7b00000000-0000-0000-00AA-000010001004%7d&viewtype=1039&web=true&cmdbar=true
Notice what we did there? Replace the “&navbar=on” with “&web=true“. Seems to do the trick.
Well sort of. We get the fully functional NavBar for sure. But the ‘breadcrumb’ doesn’t seem to be reflecting where we are correctly. I would expect it to be SALES > Contacts.
Seems the breadcrumb will always default to the first item in your sitemap. In my case SALES > Dashboards.
Not the end of the world for now.
With a bit more time, perhaps we’ll solve the rest of the mystery.