Reading CSV/Flat Files

Introduction This article is showing one of the ways to efficiently reading a CSV/Flat Files using Apex code without breaking the character encoding. Read from Content Version Apply character encoding Read data line by line CSV Upload Reusable Pack We have created a re-usable package for handling csv uploads with Read more…

Setting up Salesforce DX

Introduction Salesforce DX is changing the way developers used to code and making it better in terms of team collaboration, source driven development and faster testing and deployments. There are multiple development models in Salesforce namely change set, Package, App and Org development model. Lets see the new App and Read more…

Stateful Apex Batch Classes

Introduction This article intents to show how we can save state of batch class member variables for all serial batch jobs running in background for a single batch job. Use Cases When you want to report the batch execution status. Calculate records failed/passed on some criteria. See most common error Read more…