Posts

Salesforce Cron Expression for Schedulling class

Image
CRON JOB and CRON String  The  System.Schedule  method takes three arguments: a name for the job, an expression used to represent the time and date the job is scheduled to run, and the name of the class.  This expression has the following syntax: 1 Seconds  Minutes Hours Day_of_month Month Day_of_week Optional_year Salesforce schedules the class for execution at the specified time. Actual execution may be delayed based on service availability. The  System.Schedule  method uses the user's timezone for the basis of all schedules. The following are the values for the expression: Name Values Special Characters Seconds 0–59 None Minutes 0–59 None Hours 0–23 None Day_of_month 1–31 , - * ? / L W Month 1–12 or the following: JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC , - * / Day_of_week 1–7 or the following: SUN MON TUE WED THU FRI SAT , - * ? / L # optional_year null or 1970–2099 , - *...

Sample Package.xml for salesforce

Many a time we search the format and list of components which can be retrieved by package.xml. Below list will help in such scenario. <package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>Case-page layout name</members> <name> Layout </name> </types> <types> <name> WebLink </name> </types> <types> <members>*</members> <name>ApexPage</name> </types> <types> <members>*</members> <name>ApexClass</name> </types> <types> <members>Triggger_name</members> <name>ApexTrigger</name> </types> <types> <members>ESD_Report_Data_Archive__c</members> <members>*</members> <name>CustomObject</name> </types> <types> <members>object_api_nam...

Disable Chatter Digest Emails

Image
Personalize Chatter Email settings Follow below steps to modify Email settings for the Chatter. 1.      Login to SFDC and navigate to Tab ‘Chatter’ 2.      Click on ‘Groups’ link. 3.      From the list choose the group to stop/modify notification for. 4.      On left hand side click on ‘email me’ link. 5.      Now you can choose one of below. Also you can fine tune more settings by clicking on ‘Email settings’ link. Hope this helps.