Take the 2-minute tour ×
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.

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

share|improve this question
    
does is show an error or it doesn't display at all? –  Sai Jan 14 '13 at 19:46
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.