I have user profile named SimpleUser, and sObject Account

How to show only part of records from Accounts for this user?

Criteria for this value of record from another sObject related to Account and User.

Something like, Territory->Account Lookup and Territory ->User Lookup .

I have Territory with Users and Accounts, Territory has field Name.

How show to user records from Accounts that suitable User.Territory equal Account.Territory?

  • 1
    can you provide the default sharing settings for the 3 objects, and also how they are related. Master-detail, Lookup,... – Guy Clairbois Jul 13 '16 at 10:03
  • Its Lookup relationships, everywere – Leroy Jul 13 '16 at 10:10

Apex based sharing rule can be the option. Refer the details and example in this link

| improve this answer | |

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.