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
shiv@SFDCshiv@SFDC 

How to assign a custom VF page only to community user not others.

Hi All,

I am working on a community setup. Where I had to create a custom VF page for a custom object, say 'C1' .

Now I need to show this custom vf page layout to only partner account, they should not allow to see standard page layout.
But internal user in organization allow to see stndard page layout only. 

Please sugges how can i achive this ?

Thanks,
Shiv
 

Best Answer chosen by shiv@SFDC
Rahul SharmaRahul Sharma
You could override the standard page with visualforce page and from controller's action attribute call a method, which redirects to standard(with nooverride parameter set as 1) or custom page based on profile check.