Query Builder Using Schema

You can able to Populate query all the fileds from the Provided sObject. Clone record completely without typing your custom fields manually Retrieve Fields through Schema class Get all fields and detail properties of the fields from the provided object, which also to build your dynamically with all eligible fields.

 

Continue reading

Inserting Content Note’s through Apex

Here is the sample code to Insert Content Note

 

Continue reading

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