Removing Standard SF Header From HomePage

  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
Can't seem to wrap my head around removing the Standard header from our HomePages. Our new layouts include custom headers & footers. It's a bit tricky for us since each User/Admin group for each department has a different home page, so we'll have to use page assignments since not all departments are getting the new layout yet. 

Issue: I created a new VF page using <apex: page> and set headers & sidebars to false. When using this config even with HP components & layouts the headers still weren't removed. I tried a few other VF page configs yet to no avail

Current Solution: I used the discussion from the below link(s) to create a custom Home_Page tab & I set this to be the default page to load with the app. Since we really only use one app, this would effectively override the home page. So I can change the default app to load for the department

Except that the standard 'Home' still exists and would still direct users to a home page that includes both standard & custom headers.

https://community.skuid.com/skuid/topics/completely-override-dashboard-and-home-page-tabs

Goal: Override the 'Home' tab to not display standard Salesforce headers, while retaining the ability to use page assignments. We go live with these new pages next Tuesday so I have time to integrate a better solution; however, I wanted to be sure I was using best practices in setting this up.

Related Discussions:

http://help.skuid.com/m/supercharge-your-ui/l/117747-reclaim-the-salesforce-home-page?_ga=1.72453521....

https://community.skuid.com/skuid/topics/hide-header-of-home-page

http://help.skuid.com/m/page-assignments-and-overrides/l/201793-using-the-skuid-page-visualforce-com...
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb

Posted 2 years ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Erik,

The way we did this was to setup a custom tab that loaded up a custom visualforce page.  The VF page code just loaded the Skuid page that we wanted.  Then we added that custom tab to an app and made that custom tab the default landing page.  Each profile can have their own app.

Here is the code we used for the visualforce page:

<apex:page readonly="true" showheader="false" doctype="html-5.0">
<skuid:page page="Skuidpage"/>
</apex:page>
Thanks,

Bill
Photo of Erik Wahlberg

Erik Wahlberg

  • 2,156 Points 2k badge 2x thumb
Thanks for the tip Bill, I've got something like this set up but I opted to use page assignments for our VF page. So we went ahead and used
<apex:page readonly="true" showheader="false" doctype="html-5.0">
   <skuid:page objectType="Home_Page" actionType="Tab"/>
</apex:page>
(Edited)
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Erik~

Glad you were able to get it figured out. Thanks for sharing your code, Bill!

Thanks!
Karen