+ Start a Discussion
Mike ArthurMike Arthur 

How can I mimic different page layouts in Visualforce?

I have inherited an org where, for various reasons, the Account page has been completely written in VIsualforce, field by field.

Now there is a situation where, had standard pages been used, we would use different page layouts for different profiles.

How is this best achieved in Visualforce?  Do I need to add a 'rendered = ' attribute to every field that is displayed?

Would a 'rendered = ' attribute within the pageBlock Section component control whether the entire section is displayed or not?

Many Thanks,