Salesforce Sharing and Visibility Designer Series Part 16

This entry is part 17 of 17 in the series Sharing and Visibility Designer Study Guide

Enforce Object and Field level permission when designing Programmatic Solutions Enforce CRUD and FLS permission on Apex Class & Web Service Class Object Level Access – Schema methods are available in Apex to check the permission on objects. Check if user can access object – Lead.sObjectType.getDescribe().isAccessible() Check if user can create object – Lead.sObjectType.getDescribe().isCreateable() Check […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 15

This entry is part 16 of 17 in the series Sharing and Visibility Designer Study Guide

Apex Unit Test for Sharing & Visibility  To facilitate the development of robust, error-free code, Apex supports the creation and execution of unit tests. Unit tests are class methods that verify whether a particular piece of code is working properly. Rules of writing unit test : Use the isTest annotation to define classes and methods that […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 14

This entry is part 15 of 17 in the series Sharing and Visibility Designer Study Guide

CRUD and FLS Enforcement Manual CRUD and FLS Enforcement in Apex Controllers There are often cases where developers use VisualForce to display data derived from an SObject field in an indirect or processed form. For example

  FLS and CURD can be enforced on VF page. But Apex controllers is preferred for scalability and […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 12

This entry is part 13 of 17 in the series Sharing and Visibility Designer Study Guide

Sharing a Record Using Apex To access sharing programmatically, you must use the share object associated with the standard or custom object for which you want to share. For example, AccountShare is the sharing object for the Account object, ContactShare is the sharing object for the Contact object. In addition, all custom object sharing objects […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 5

This entry is part 5 of 17 in the series Sharing and Visibility Designer Study Guide

Overages are calculated yearly basis Max 100 communities Max 1 million users with Partner or Customer Community+ Max 500,000/month page views for Enterprise Edition Max 1 mill/month page views for Unlimited Edition Community User Licenses We have following Community licenses for users: Customer Community Customer Community Plus Partner Community Employee Apps Starter and Employee Apps […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 6

This entry is part 6 of 17 in the series Sharing and Visibility Designer Study Guide

SHARING SETS Grant portal or community users access to records that are associated with their accounts or contacts using sharing sets. Sharing Sets are only available for Customer Community license Sharing sets can be used with these user profiles: Authenticated Website Customer Community User Customer Community Login User High Volume Customer Portal High Volume Portal […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 7

This entry is part 7 of 17 in the series Sharing and Visibility Designer Study Guide

MANAGING PARTNER USERS 1.Partner Portal Role Hierarchy: A portal user role hierarchy is created for an account and its contacts when you enable the first partner portal user on that account. The account is added to the role hierarchy beneath the user that owns the account. Whenever you enable a contact as a partner portal […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 8

This entry is part 8 of 17 in the series Sharing and Visibility Designer Study Guide

Methods to validate Sharing and Visibility : From System Admin perspective: We can Add “Sharing” button on Record/Object’s Pagelayout. We will be able to see Type of USER/GROUP who are having access to record along with reason of the sharing. On Click on “EXPAND LIST”, We will be able to see all the users who […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 10

This entry is part 10 of 17 in the series Sharing and Visibility Designer Study Guide

Salesforce Group Membership Sharing Salesforce Group Membership Architecture The Salesforce group membership architecture consists of a few objects that store groups’ names and types, in addition to their members. Each object in Salesforce that has its organization-wide default setting configured as Public Read Only or Private will also have an associated share object. Salesforce uses […]

Continue reading