Thanks for all your contribution’s towards procodingskills.com

Lightning Promise functions

We know that Lighting javascript functions are Asynchronous. But there will be so many incidents that we may depends on Function Call back, by using promise function we can able to solve these callback problems To know more about javascript promise function Click Here

Continue reading

Inserting Content Note’s through Apex

Here is the sample code to Insert Content Note [crayon-5dedfec1725e9049839407/]  

Continue reading

Platform Developer I Certification Maintenance (Spring ’19) Answers

Platform Developer I Certification Maintenance (Spring ’19) Hands on Code [crayon-5dedfec1733d9988050464/]  

Continue reading

Salesforce Sharing and Visibility Designer Series Part 16

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

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

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 [crayon-5dedfec173835694146055/]   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

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

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

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

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

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

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 9

Account Data Skew Scenario : To illustrate how account data skew can happen, consider the following scenario. Assume that a company’s salespeople are adding new contacts into an account. When they click Save, the database automatically locks the parent account when it begins the DML operation and before it actually inserts the Contact. The database releases the lock […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 10

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

Salesforce Sharing and Visibility Designer Series Part 11

Tools for Large-Scale Realignments: Parallel Sharing Rule Recalculation: When you create, update, or delete sharing rules, the resulting recalculation is now processed asynchronously and in parallel. The recalculation is run in parallel and asynchronously in the background, which speeds up the process and provides better resilience to site operations such as patches and server restarts. […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 4

Folder Sharing for Report and Dashboards  Reports and dashboards are shared through folders. You share the folder, not the report or dashboard itself. User Permissions Needed To share a report folder: Manager folder access or Manage Reports in Public Folders To share a dashboard folder: Manager folder access or Manage Dashboards in Public Folders 1.Share […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 3

Sharing using Account and Opportunity Teams Account teams provide a method to document the roles of multiple users in the management of a single account. Account Teams can be used to give record-level access to the Account and some of it’s related records like Contact, Opportunity, Case. Opportunity teams can be used to give record-level […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 2

What happens under the hood ? When a user requests access to a record ? First, it determines whether a profile, permission set, or organization-wide default setting already give the user the level of access that user is requesting to the record. If the user does not have at least that level of access to […]

Continue reading

Salesforce Sharing and Visibility Designer Series Part 1

Salesforce Sharing Architecture Components Profiles and Permission Sets Provide object-level security by determining what types of data users see and whether they can edit,create, or delete records, and field-level security, which determines the fields within every object that users can access PermissionSets open up access that are restricted by Profiles For each object, the “ […]

Continue reading

How to prepare for Salesforce Sharing and Visibility Designer certification

In case you are planning to give Platform App Builder Certification, you reached the right place. You will find all required details in one place. About the Exam The Salesforce Certified Sharing and Visibility Designer exam has the following characteristics:  Content: 60 multiple-choice/multiple-select questions* (2-5 unscored questions may be added)  Time allotted to […]

Continue reading