Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

salesforce page layout section - security

I have added a section on page layout which renders my custom visualforce related list, it works fine for certain admin user, except for one sales profile, I checked object permission, visualforce, apex, field level access, all of them have read access to records.

I also added to the record type/page layout as well, but the sales user can't able to see it. Any help?


share|improve this question
does is show an error or it doesn't display at all? – Sai Jan 14 '13 at 19:46
up vote 0 down vote accepted

If the page is displaying just the header of your "related list" then it might be that in the "sales profile" users don't have access to these records due to sharing restrictions. Does the VF-page have a Apex controller defined? If so, check if the class is defined with "with sharing" clause.

share|improve this answer
I tried with with sharing and without sharing as well, I don't see any impact – realnumber Jan 14 '13 at 20:06
there is some confusion with pagelayout/record type assignment for different user, thats why id didn't show. I changed page layout assignments it works, thanks! – realnumber Jan 14 '13 at 22:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.