Best practice for a completely custom navigation?

  • 1
  • Question
  • Updated 2 years ago
  • Answered
What's best practice for using a completely custom navigation/header? Is it to create a visualforce tab and place it next to the home tab, and then have that be the landing page for the salesforce app? Or is there a better way to override the actual salesforce home page with a custom header?
Photo of Ryan Denis

Ryan Denis

  • 542 Points 500 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
That is what I did. It works well, but there are some holes. Like if you have the option for the user to navigate to their profile, they get the standard Salesforce header. I saw a post one time saying that there was some HTML you could put in the home page in a custom component that would redirect a user that landed on the home page, but I couldn't get it to work. Salesforce, as far as I know, prevents you from removing the home tab.
I have been using custom skuid headers and footers for months in two orgs and it works great. If you remove any options from your navigation components that would navigate users to a page that only works with Saleaforce headers, then it should do the trick.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Yes, we're doing it that way, too.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
If you want to keep some of the standard salesforce pages that deliver good value (like profile) you can add custom links to your navigation and include the url parameter "&isdtp=vw" to the end.  So this

url  /_ui/core/userprofile/UserProfilePage?tab=sfdc.ProfilePlatformFeed&isdtp=vw 

Will bring the user profile page without any sf header.  Not perfect,  but better.