+ 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.