function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jaw999jaw999 

Redirect Users Away from Home tab

Is this possible after recent lockdown of the homepage? I am being asked to redirect users to a Visuaforce page. Setting it the default as their app tab is not adequate. They should be blocked from the home tab completely. thanks!
Best Answer chosen by jaw999
jaw999jaw999
I have been able to reidrect users away with a version of 
<script type="text/javascript">

window.top.location="https://c.na12.visual.force.com/apex/SaleshomeVF"

</script>

 

All Answers

Abhishek BansalAbhishek Bansal
Hi,

You cannot remove Home Tab from profile of any user so as a result you cannot block any user form Home Tab.
If you set any tab as default landing tab for the user than still user will be able to see Home tab.
Blocking any user from Home tab is not possible.

Thanks,
Abbhishek.
jaw999jaw999
I unsderstand the home tab is not removable from any app.
Is it possible to embed a script in the homepage that would redirect a User to a Visualforce page?
Abhishek BansalAbhishek Bansal
Nice thought but impossible.
You cannot add any script to a standard Tab.
jaw999jaw999
Not even in the HTML area? A side panel? In a VF page?
Abhishek BansalAbhishek Bansal
According to me it is not possible with any case.
However you can create Home page components and add them in Home Page layout.
Go To Setup -> Customize -> Home -> Home Page Components
May be this is helpful to you.

Thanks,
Abhishek
jaw999jaw999
I have been asked to remove all user access to the homepage.
Can I diable the chatter feed from the top of the hometab? I know I can go in as each user and hide it, but I want to disable it. Or put my VF page above.
Same idea with the side bar. I know I can hide it for all users, but I just want it hidden on the home tab, not every page.
jaw999jaw999
I have been able to reidrect users away with a version of 
<script type="text/javascript">

window.top.location="https://c.na12.visual.force.com/apex/SaleshomeVF"

</script>

 
This was selected as the best answer