1

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?

Thanks

1
  • does is show an error or it doesn't display at all?
    – Sai
    Jan 14, 2013 at 19:46

1 Answer 1

0

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.

2
  • I tried with with sharing and without sharing as well, I don't see any impact
    – realnumber
    Jan 14, 2013 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, 2013 at 22:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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