Skip to main content

After a user logs in I’d like to redirect to a skuid page without any salesforce header and sidebar. Is this possible?

Yes.  
1. Build your skuid page without header and sidebar.  
2. Then create a VF tab that hosts this page.  
3. Make this VF tab the default tab for the default application the profile sees when they login.  

They will never again see salesforce. 

But you might want to put a back door in your skuid page.  You will also need to replicate SF navigation,  user profile etc.  (Oh… Now I get what all your recent posts are about…  Let us know how it goes! ) 


How do we do the same thing for a Community user? Using a Visualforce + Tabs template for a community, Salesforce doesn’t care what apps are used or what the default tab is. I’ve added javascript to a skuid page embedded on the home page that redirects after the home page loads, but that’s not really ideal. Any other ideas? 


I had an issue doing this Rob’s way. For some reason the home tab and the default tab showed up (even though I had both turned off in visualforce and skuid page settings).


The way I got this to work was through LoginFlow.


You create a loginflow and create a visualforce and apex controller.


Source:
https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/security_…


My visualforce page looked like this:


> 
(it just calls the "FinishLoginFlowStartUrl" of its controller on pageload)

The apex controller looks like this:

public class SkuidLoginFlowController { 
public PageReference FinishLoginFlowStartUrl(){
return Auth.SessionManagement.finishLoginFlow('/apex/home');
}
}
(all it does is redirect to a visualforce page called "home" immediately after login. "home" is a visualforce page which hosts a skuid page)

Here is the "home" visualforce page:

    





```Now all you need to do is create a skuid page called "home" and you're done!

Sweet!


I tried this approach and it’s not working for me. Anyone having similar issue?

551e9a76eaae97963e7b03d293cb1c5b2d3cb366.png


This still works for me. Are you sure you set it up correctly?


I have


  • two visualforce pages

  • one skuid page

  • one class

  • one login flow

    VF Pages:


    Skuid Page:


    Class:


    Login Flow: