All Projects → j-fischer → Rflib

j-fischer / Rflib

Licence: bsd-3-clause
Salesforce open source library with logging framework, trigger framework, feature switches, and advanced monitoring capabilities

Projects that are alternatives of or similar to Rflib

Purealoe
Salesforce Sample App part of the sample gallery. Agriculture and retail use case. Get inspired and learn best practices.
Stars: ✭ 65 (-5.8%)
Mutual labels:  apex, salesforce
Lwc Recipes
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform
Stars: ✭ 1,147 (+1562.32%)
Mutual labels:  apex, salesforce
json2apex
Generate strongly typed apex code from a json structure.
Stars: ✭ 121 (+75.36%)
Mutual labels:  salesforce, apex
NebulaFramework
A development framework for Salesforce's Apex language & the Force.com platform
Stars: ✭ 28 (-59.42%)
Mutual labels:  salesforce, apex
Salesforcedx Vscode
Salesforce Extensions for VS Code
Stars: ✭ 653 (+846.38%)
Mutual labels:  apex, salesforce
Script.apex
Evaluate Javascript expressions in Apex
Stars: ✭ 18 (-73.91%)
Mutual labels:  salesforce, apex
Ebikes Lwc
Sample application for Lightning Web Components and Communities on Salesforce Platform. Part of the sample gallery. Retail use case. Get inspired and learn best practices.
Stars: ✭ 299 (+333.33%)
Mutual labels:  apex, salesforce
apex-utils
Utility classes for Salesforce Apex development
Stars: ✭ 20 (-71.01%)
Mutual labels:  salesforce, apex
Sfdc Trigger Framework
A minimal trigger framework for your Salesforce Apex Triggers
Stars: ✭ 527 (+663.77%)
Mutual labels:  apex, salesforce
Npsp
The current version of the Salesforce.org Nonprofit Success Pack
Stars: ✭ 487 (+605.8%)
Mutual labels:  apex, salesforce
apexmock
force.com Mock data and fixtures for Apex Unit Tests
Stars: ✭ 24 (-65.22%)
Mutual labels:  salesforce, apex
Affiliationsecurity
HEDA Affiliation-Based Security for Salesforce
Stars: ✭ 8 (-88.41%)
Mutual labels:  apex, salesforce
apex-fp
Functional programming for Salesforce Apex
Stars: ✭ 231 (+234.78%)
Mutual labels:  salesforce, apex
amoss
Amoss - Apex Mock Objects, Spies and Stubs - A Simple Mocking framework for Apex (Salesforce)
Stars: ✭ 55 (-20.29%)
Mutual labels:  salesforce, apex
salesforce-plantuml
Salesforce app to generate UML class & ER-diagrams from your org data. Leverages the PlantUML library.
Stars: ✭ 89 (+28.99%)
Mutual labels:  salesforce, apex
Lightningflowcomponents
A collection of unofficial Lightning Components that can be used to enhance Salesforce Lightning Flow and Lightning Pages.
Stars: ✭ 252 (+265.22%)
Mutual labels:  apex, salesforce
fast-sfdc
A VSCode plugin to develop Salesforce projects in vscode
Stars: ✭ 16 (-76.81%)
Mutual labels:  salesforce, apex
apex-query-builder
Convenient query builder for dynamic SOQL queries
Stars: ✭ 37 (-46.38%)
Mutual labels:  salesforce, apex
Apex Recipes
A library of concise, meaningful examples of Apex code for common use cases following best practices.
Stars: ✭ 307 (+344.93%)
Mutual labels:  apex, salesforce
Squery
Salesforce SOQL query builder
Stars: ✭ 16 (-76.81%)
Mutual labels:  apex, salesforce

Reliability Force

Build Status GitHub GitHub package.json version codecov

The goal of this library is to help developers to create clean, production-ready code with a high level of operational supportability.

This library is inspired by Dan Appleman's (see Advanced Apex Programming) logging design pattern to collect better diagnostic information when dealing with errors in your Apex classes. This library expands his concepts to provide detailed log information from Lightning Components and Lightning Web Components, giving developers more visibility into the execution path on the client side, especially when dealing with production issues. The library can be configured to automatically report any unexpected errors through Salesforce's latest technologies such as Platform Events.

Key Features

The following lists describe some of the key features of rflib.

Logging Framework (package RFLIB):

  • Logger for LWC and Aura, which publishes logs the same way as Apex
  • Configuration through Custom Settings allowing for different log configurations between users
  • Aggregation of log statements when reporting
  • Using Platform Events for reporting of log statements
  • Support Batched Logging for when DML statements are not supported

Feature Switches (package RFLIB-FS):

  • Fully configured using Custom Metadata
  • Supports hierarchical structure (similar to Custom Settings) to override settings at the profile or user level
  • Fully supported in Flow Builder through Get Records or Apex Action

Trigger Framework (package RFLIB-TF):

  • Fully decoupled framework, trigger handlers work in isolation
  • Recursion tracking to allow for easy prevention of multiple executions
  • Fully configurable trigger management (activation, order, error handling, etc) using Custom Metadata

Deploy

The best way to add RFLIB to your environment is by installing the unlocked package.

Alternatively, you can either clone the repository and use 'sfdx force:source:deploy' to deploy this library to your Sandbox or use the Deploy to Salesforce button below to deploy it directly into your org.

Please check the CHANGELOG file for versions, install links and package aliases.

To install package via browser:

https://login.salesforce.com/packaging/installPackage.apexp?p0=<PACKAGE_VERSION_ID>

To install latest package via SFDX CLI Plugin:

sfdx sforce📦install -p 04t3h000004jpwzAAA -w 10 -s AllUsers -u <your org alias>
sfdx sforce📦install -p 04t3h000004jpyMAAQ -w 10 -s AllUsers -u <your org alias>
sfdx sforce📦install -p 04t3h000004jq2OAAQ -w 10 -s AllUsers -u <your org alias>

To deploy code:

Deploy to Salesforce

Documentation

Documentation such as How To's and more can be found in the Wiki of this repository.

Log Event Dashboard

Review any log events sent within the last 72 hours or receive new log events in real-time. The dashboard shows all the events and lets you filter them by searching text within the messages. This will make it easy to detect error codes or other log messages of value.

To enabled the Ops Center application, simply assign the Ops Center Access Permission Set to the users of your choice.

alt text

Updates

See CHANGELOG file for versions, install links and package IDs.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].