Category: Apex

GitHub Integration with Salesforce

GitHub As developers, we want to collaborate code with our peers and other developers. GitHub is an online software development platform. It’s used for storing, tracking, and collaborating on software projects. The steps shown below needs a VS Code project with manifest ( package.xml) file and existing code Step 1: Sign in to your GitHub account. …

Continue reading

Permanent link to this article: https://salesforcebuddy.com/2023/03/github-integration-with-salesforce/

Declarative Lookup Rollups Summaries – Part 1

We all must have seen rollup summary fields in Master-Detail objects. We can not have Master-Detail relationship at all places but there is often a need to calculate rollup where 2 objects are related by a lookup field. Declarative Lookup Rollup Summaries, or DLRS, are perfect for creating rollup fields for objects that are not …

Continue reading

Permanent link to this article: https://salesforcebuddy.com/2022/01/declarative-lookup-rollups-summaries-part-1/

Converting collections in apex

List<Id> to List<String> Set<Id> to Set<String> List<String> to List<Id> Set<String> to Set<Id> Set to List of same data type List to Set of same data type

Permanent link to this article: https://salesforcebuddy.com/2021/04/converting-collections-in-apex/