Easy Visualforce Lightning Components

On Salesforce Lightning records you can now include visualforce as a component. For situations where you need to display information or dynamic UI from a query or calculation you can save a lot of time with visualforce components. After creating this visualforce page make sure… Read More

How to reference Apex in Visualforce

Examples showing how to reference Apex variables and queries in visualforce. Also shows how to send variables from visualforce to an apex controller. Github Repo: https://github.com/Nicholashuber/Apex-Visualforce Simply create the visualforce page and controller and click preview after saving to see the results. Apex:

Visualforce page:… Read More

Using the Apex Crypto Class with Examples

The Apex Crypto class provides a number of cryptographic functions for creating digests, message authentication codes, and signatures, as well as functions for encrypting and decrypting information. These functions allow you to protect the confidentiality of data as well as allow external systems to verify… Read More

Apex Test Utility Class

When programming on the Salesforce platform in order to deploy anything to production you need to have a “Apex Test Class” that runs over 75% of the code without errors. To make this task as painless as possible you should create whats called a Apex… Read More

For Loops in Apex

Creating For Loops in apex is needed for many different tasks you’ll be given as a Salesforce Developer. Here are some ways you can implement For Loops in your code:

For lists or set iteration: Use this any time you want to loop over… Read More