Platform Developer I Certification Maintenance (Spring ’19) Answers

Platform Developer I Certification Maintenance (Spring ’19) Hands on Code

 

Continue reading

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 13

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

CRUD and FLS Enforcement Object (CRUD) and field (FLS) level security are configured on profiles and can be used to restrict access on object types and individual fields. In most cases, VisualForce will automatically enforce CRUD and FLS when direct references to SObjects and SObject fields are used. Use Cases where CRUD and FLS are […]

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