Salesforce-Separation-Of-Concerns-And-The-Apex-Common-Library
apex-rollup
Salesforce-Separation-Of-Concerns-And-The-Apex-Common-Library | apex-rollup | |
---|---|---|
1 | 10 | |
83 | 195 | |
- | - | |
0.0 | 7.9 | |
over 1 year ago | 6 days ago | |
Apex | Apex | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Salesforce-Separation-Of-Concerns-And-The-Apex-Common-Library
-
Salesforce Development Tutorial Series: Separation of Concerns and The Apex Common Library (A guide to making your Code Architecture flexible for the future)
Video Tutorial Series: https://www.youtube.com/playlist?list=PL0wESsiWMBTplo_vgZajNEwbl_P0HXuTZ GitHub Wiki: https://github.com/Coding-With-The-Force/Salesforce-Separation-Of-Concerns-And-The-Apex-Common-Library/wiki Blog Posts: http://codingwiththeforce.com/category/salesforce-development-tutorials/soc-and-the-apex-common-library-tutorial-series/
apex-rollup
- My Apex won't deploy due to a failure from the Declarative Lookup Rollup Summaries Tool Test
-
Declarative Lookup Rollup Summary (DLRS) not functioning
While I agree that DLRS has its problems (fewer problems today than there used to be but still has problems), I don't think Flows are (yet) up to the task enough for me to recommend them generally for roll-up needs. I am very pro Flow and can't wait for the day I can say that they are. If I were to make a recommendation today it would be apex-rollup: https://github.com/jamessimone/apex-rollup
-
Opportunity Trigger rollup
๐ hi - author of Apex Rollup here, which I would highly encourage you to use (or any other rollup library) rather than trying to roll your own, as there a number of edge cases that your code doesn't take into account like:
-
Rollup calculation in Campaign Hierarchy
Check out apex rollup, https://github.com/jamessimone/apex-rollup
-
Free Code Based Rollup Solution - Apex Rollup Interview
There's also a (brief, but with extremely detailed picture) section on Rollup Architecture in the Github wiki for the project
-
Sum Values in Related List?
Apex-rollup (was harder for me to configure, but it could be just me; easier on the system): https://github.com/jamessimone/apex-rollup
-
Summary count of all activities in custom field?
Instead of DLRS, you may want to look at implementing Apex Rollup - itโs fairly simple to set up and is more lightweight.
-
DLRS vs Your Own Code vs Flow
If you are looking for something that is considerably more lightweight in comparison to DLRS (and contains well-annotated, object-oriented code ...), I will definitely plug apex rollup
-
Coding With The Force New Salesforce Tutorial Series - Open Source MVP's - Tutorials on How to Use Free Open Source Libraries by the Creators Themselves! This week shows you how to use James Simone's Rollup Library which Allows you to Calculate Rollups on Lookup Relationships (and more) for Free!
In this first episode James Simone, the author of several great open source libraries as well as the Joys of Apex blog has created a tutorial on how to leverage his new Rollup library. This allows you to, for free, calculate Rollup summaries on a variety of relationship types (Lookup, external ids, etc). In the tutorial video he shows you how to leverage Rollup in an auto-launched flow, record trigger flow and from within triggers. Hopefully this makes it super easy for users to leverage this in their orgs.
What are some alternatives?
NebulaLogger - The most robust logger for Salesforce. Works with Apex, Lightning Components, Flow, Process Builder & Integrations. Designed for Salesforce admins, developers & architects.
LightningFlowComponents - A collection of unofficial Flow extensions that can be used to enhance Salesforce Flow and Orchestrator.
lwc-utils - Reusable LWCs to 10x your solution building speed. Design interactive, data-dense UIs with LWC + Screen Flows.
CurrencyCrusher - Uses asynchronous Apex to automatically keep foreign price book entries aligned with the latest exchange rates.
apex-fp - Functional programming for Salesforce Apex
salesforce-round-robin - Round robin records in Salesforce (SFDC) in Flow & Apex
Mock-Data-Layer-Pattern - Mock Data Layer Pattern - Learn how to use dependency injection to create a Data Layer that will allow you to improve your Apex tests performance with mock data relationships.
sfdc-trigger-framework - A minimal trigger framework for your Salesforce Apex Triggers
dreamhouse-sfdx - Salesforce Sample App part of the sample gallery. Real estate use case. Get inspired and learn best practices.
automation-components - Automation Components are a collection of reusable and production-ready extensions that include invocable actions, flow screen components and local actions.