Batch Apex updating records and returning errors in CSV and sending as Email

This article explains how to create a CSV file for errors returned in batch apex while updating records. below code is for updating account name by batch apex:

       

Continue reading

Chatter Annotations through apex triggers in salesforce

Hey are you looking to mention user or Chatter group in your user chatter feed or Feed on Sobject records , then here is the solution for you to mention Annotations in chatter from Apex code

 

Continue reading

Validation Rules in Salesforce

This entry is part 5 of 5 in the series Administration

When ever user changes the records then validation rule will execute before the saving the record in to salesforce object.   Validation will only shows error if the return value is True  from the validation rule condition. While writing any validation rule , please check for an wrong data and return true

Continue reading

Create a new custom field in Standard Object

This entry is part 4 of 5 in the series Administration

To create any new filed in sobject first we need to know what type of filed we need to create. Salesforce.com provides generic data type of fields like Picklist,Checkbox, Text , Phone , Email , Time etc,. follow the below steps to create a new custom filed in standard object Click on Setup Navigate Build->Customize->Account->Field Click on New […]

Continue reading