Tag: Salesforce Best Practices

  • How to use Lightning Web Components in Visualforce

    How to use Lightning Web Components in Visualforce

    You can add lightning web components to existing Visualforce pages. In this blog post, you will learn how to use Lightning Web Components in Visualforce and with Apex.

  • Should I still be building Lightning Components?

    Should I still be building Lightning Components?

    There is no requirement right now to completely rebuild Aura components because Aura and Lightning Web Components can work together. They are completely interoperable.

  • Should Salesforce architects know how to code?

    Should Salesforce architects know how to code?

    Salesforce Architects whether they be Solution Architects, Technical Architects or some other type of Architect should have at least a good working knowledge of how to code.

  • Best Practices for Documenting Your Salesforce Org

    Best Practices for Documenting Your Salesforce Org

    Documenting a Salesforce Org is really challenging because it can be complex especially when working across many different branches or divisions. Maintaining and keeping the documentation in sync is also really difficult if there isn’t significant executive sponsorship.

  • How to Avoid Governor Limits in Salesforce Apex

    How to Avoid Governor Limits in Salesforce Apex

    Most governor limit errors are a result of poorly understanding how Salesforce works, so they can be prevented by designing a better architecture and by taking advantage of the platform. For example, too many SOQL queries can be avoided by writing bulk-friendly code or using caching.

  • Everything you need to know about Schedulable Batch Apex

    Everything you need to know about Schedulable Batch Apex

    Batch Apex has some incredible advantages over regular apex. The execution time of batch apex can be much longer and a lot more records can be processed. Scheduling Batch Apex has even more benefits than batch apex: it can do large jobs regularly.

  • Analyzing Salesforce Field Usage

    Analyzing Salesforce Field Usage

    Over time, Salesforce orgs get more and more complicated especially when a consultant, admin or developer leaves the organization with their knowledge of the system.

  • How to Process Thousands Of Records on Salesforce

    How to Process Thousands Of Records on Salesforce

    On Salesforce, if you want to process thousands of records the only way to truly achieve it is through asynchronous apex. In this blog post, we cover the various ways of doing Asynchronous Apex.

  • Enforcing Object Level and Field Level Permissions in Apex

    Enforcing Object Level and Field Level Permissions in Apex

    This past year, Salesforce has finally released some security enhancements that can make our lives easier as developers. There’s two enhancements that can really improve our code and reduce the use of the Schema.sObjectType methods.

  • Salesforce Apex Bulkification In 3 Easy Steps

    Salesforce Apex Bulkification In 3 Easy Steps

    As you may recall, in Salesforce, there are some fairly stringent governor limits that can cause things to unexpectedly fail. In this blog post, you will learn three easy steps to bulkify any method in Apex.

  • Common Reasons Salesforce Integrations Fail

    Common Reasons Salesforce Integrations Fail

    Moving data between systems consistently through an integration can be difficult especially given all of the limits that Salesforce throws at us! The purpose of this blog post is talk about all of the common reasons that a Salesforce integration could fail.

  • Reasons To Integrate Salesforce

    Reasons To Integrate Salesforce

    When we integrate something we are connecting two applications or systems together so they can talk to each other and share data. There’s a lot of business benefits to integrating Salesforce with other systems whether it be your enterprise resource planning system (ERP), your accounting software (Quickbooks, Simply Accounting, etc), or even your case management system.

  • Decluttering Your Salesforce Org

    Decluttering Your Salesforce Org

    Salesforce orgs tend to become cluttered with technical debt and functionality that is no longer being used. The longer the technical debt and unused functionality is allowed to exist the more expensive it becomes because of confusion, complexity, and potential project delays. In this blog post, we have a look at how to identify technical debt and how to begin removing it.

  • Caching Data Within Aura & Lightning Web Components

    Caching Data Within Aura & Lightning Web Components

    The Lightning Data Service really simplifies our development within Aura and within Lightning Web Components. Implementing caching within Salesforce Lightning is really easy!

  • How to Use CRM To Grow Your Business

    How to Use CRM To Grow Your Business

    Implementing Customer Relationship Management (CRM) software is vital to growing a company’s business because having a relationship with customers is vital. In this post, I will detail how to use crm to grow your business by implementing it correctly, making sure staff are using it and providing a few really good tips to automate business […]

  • 5 Strategies to get Around SOQL Query Limits

    5 Strategies to get Around SOQL Query Limits

    In Apex, there’s quite a few constraints that are strictly enforced because the platform is a shared multitenant environment. Quite a few of the limits result in runtime exceptions that can’t be handled. For those familiar with Salesforce, it’s no secret that there’s a lot of limits. For example, there’s limits around the ViewState which […]

  • Apex Trigger Best Practices

    Apex Trigger Best Practices

    Apex Triggers are very powerful and are easily one of the most important parts of Salesforce because they significantly impact all database operations (inserts, updates, deletes, etc. ) With this incredible power and flexibility there’s a lot of room for problems. In my career as a Salesforce developer, I’ve looked at hundreds of different apex […]

  • Dealing With Duplicate Data in Salesforce

    Dealing With Duplicate Data in Salesforce

    Overtime, it’s easy for a Salesforce org to accumulate duplicate Leads, Contacts, Accounts and of course Opportunities. Duplicate data usually means that there’s some bad practices in your sales process or that staff aren’t checking to see if a contact or lead already exists. Companies rarely spend a lot of their time focusing on the […]

  • Best Practices for Improving Visualforce Performance

    Best Practices for Improving Visualforce Performance

    Visualforce was designed to allow us to create functionality for users that has a similar user experience as the Force.com platform. Well designed pages should feel like they were meant to be part of the platform, and should be incredibly performant.

  • Best Practices for Exception Handling in Salesforce Apex

    Best Practices for Exception Handling in Salesforce Apex

    What’s an Exception An exception is an unexpected event that occurs when code is executing. Basically apex is signalling there is a problem and that it can’t deal with the issue.