Apex · Salesforce

How to validate String as Salesforce Record Id using InstanceOf keyword?

I had scenario where store multiple user in custom settings with ";" separator. Used that custom settings to skip the trigger for few scenario like data load, running batch job... Some time admin/developer will manually update customer setting with their Salesforce User record id once completed their activities(data load or running batch job) - they… Continue reading How to validate String as Salesforce Record Id using InstanceOf keyword?

Adminstrator · Salesforce · Setup

Enable List Custom Settings in Org after Spring 18

From Salesforce Spring 18 release - list custom settings option is grayed out. The list type provides a reusable set of static data that you can access across your org so salesforce forcing you to use Custom Metadata Types. But most of the company is using list custom settings like custom object to configure static… Continue reading Enable List Custom Settings in Org after Spring 18