Recipes by Category

App Distribution (2) Bundle logic, interface and services for distribution. App Logic (37) The Apex programming language, workflow and formulas for logic. Collaboration (5) The Salesforce Chatter collaboration platform. Database (29) Data persistence, reporting and analytics. Integration (33) Web Service APIs and toolkits for integration. Security (9) Platform, application and data security. Tools (4) tooling User Interface (36) Visualforce MVC and metadata-drive user interfaces. Web Sites (12) Public web sites and apps with optional user registration and login.
Beta Feedback
Cookbook Home ยป  Ankit Arora (forceguru) profile

Ankit Arora (forceguru) profile  - Cookbook - Last login 

Recent Activity

Retrieve a List of Objects using Apex
by Ankit Arora (forceguru)  (2012-10-07)

Also if you want to remove the system object from this list you can use this...

Running Case Assignment Rules From Apex
by Ankit Arora (forceguru)  (2012-01-23)

Helpful when you want to run Case assignment rules while inserting a Case record from Apex.

Calculating Age in Years from Date of Birth
by Ankit Arora (forceguru)  (2011-06-04)

You want to calculate someone's age in years using a formula field, given a date of birth.

Initialising Maps from Queries to Save Script Statements
by Ankit Arora (forceguru)  (2011-05-17)

 No we can not, only format available is Map<Id , SObject>.

Using sObject Constructors to Save Script Statements
by Ankit Arora (forceguru)  (2011-05-05)

You want to save script statements when initialising sObjects.

Initialising Maps from Queries to Save Script Statements
by Ankit Arora (forceguru)  (2011-05-05)

You need to create a list of identifiers of records from a query, but want to save on governor limits and not iterate over the list to retrieve the identifiers.

Ankit Arora (forceguru) posted recipes

- (2011-12-22)
- (2011-05-27)
- (2011-04-26)
- (2011-04-13)