We are trying to invoke a skuid page when viewing an account page of a specific record type, SkuidPage for only a specific profile.
So we tried a couple of visualforce pages to override the View action for Accounts.
The first one we tried that redirects to a skuid page
<apex:page standardController=“Account”
action=“{!redirect}&actionType=View&objecttype=Account”
extensions=“skuid.Redirects”/>
</apex:page>
The result is correct for system administrators. The account’s with record type SkuidPage gets the skuid page while other types of accounts get the standard Salesforce view page. However, users with the profile who needs to see the same skuid page only gets the standard Salesforce view page no matter what Skuid page assignment we tried.
We then tried embedding the skuid page on the visualforce page.
<apex:page standardController=“Account”
showHeader=“true” sidebar=“false” showChat=“false”
readonly=“true” docType=“html-5.0”>
<skuid:page page=“SkuidPage” actiontype=“View” objecttype=“Account”/>
</apex:page>
The result of the above visualforce page is the the Skuid page is invoked no matter the acccout type, profile and Skuid page assignment.