function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Alvin TaiAlvin Tai 

How to restrict certain records from a community user?

Here are my objects:

Products
Serial Numbers (lookup relationship with a single Product)
Contacts (standard object with a lookup relationship with a single Product)

When I make a contact a "Community User", right now, he/she can see ALL Serial Numbers of ALL Products. I want to restrict his/her access so that they can only see Serial Numbers of a single Product (the one why are associated to).

Ramu_SFDCRamu_SFDC
As per the article https://help.salesforce.com/HTViewHelpDoc?id=networks_setting_light_users.htm&language=en_US . Community users will get the access to all related records that are linked to the Account/Contact that is linked to this users. I do not think there is a way to override this due to this standard behavior.
Alvin TaiAlvin Tai
This ALMOST solves my problem:
http://blog.edlconsulting.com/salesforce-com/crm/sharing-records-in-a-salesforce-com-customer-community/

HOWEVER, when I do this, I can't get the ListViews to show the appropriate records, which essentially makes this feature useless. Any ideas on how to get the List Views to work after using Sharing Sets?