Apex
Implementation of Gantt Chart using Google Charts
Motivation: When you can’t build the desired chart using Visualforce, you can use the vast Google Charts API. What is Gantt Chart: A Gantt chart is one of the most popular and useful ways of showing activities (tasks or events) displayed against time.On the left of the chart is a list of the activities and …
Implementation of Gantt Chart using Google Charts Read More »
Tool to Delete Components from Production
It is known that we cannot delete components like Apex Classes, Triggers, etc. manually from production. The common approach to delete these components are through Force.com IDE or Force.com Migration tool. In this article we design a tool to delete these components. We build a Visualforce page which creates two XML files named package.xml and …
Combining RESTful Web Services and Site.com for creating publicly asccessible URL
The Force.com REST API lets you use a simple and lightweight API to access Force.com data, using standard OAuth, together with a choice of data flavors – XML and JSON. The REST API is configured out of the box to suit the basic CRUD (create, read, update and delete) operations of data management. Apex REST …
Combining RESTful Web Services and Site.com for creating publicly asccessible URL Read More »
Upload files in Amazon S3 from Salesforce
When we have to upload multiple files or attach many files to any record, Salesforce provides storage limit per user license purchased. It varies from edition to edition. So, sometimes organisations decide to use external storage service like Amazon S3 cloud. User can be given option to upload files to Amazon S3 via Salesforce and …
Creating Google Calendar Events from Salesforce Without Integration
Hi All, This blog helps you to create Google calendar events from Salesforce without any integration. Why to create Google Calendar events? For Example: In your organization HR is sending emails to the interviewers to take interviews. The interviewers may forget on the interview day for taking the interview on time. So to overcome these …
Creating Google Calendar Events from Salesforce Without Integration Read More »
Sorting of sObjects in Salesforce
I had a requirement where I had to sort a list of custom object records (Product__c) by a custom text field Group__c alphabetically and then by a currency field Price__c from lowest to highest. There is an instance method sort() for List collection type, it sorts the items in the list in ascending order. Using …