Category Archives: Visualforce

Salesforce clone utility class

Do you ever wonder to clone an object, if yes then I have an utility which works for every object.  Usage of this code: You can call this class from a custom button/visualforce page/apex class. Happy coding…

Posted in Apex, salesforce, Salesforce Tips & Tricks, Visualforce | Tagged , , , | 1 Comment

Displaying a grid in Salesforce with the help of ExtJS

As ExtJS growing rapidly in a javascript world, you might wanted to embed these features in your salesforce instance(s). Are you excited to learn something with ExtJS, then here is the blog on how to get started with ExtJS. This is a simple … Continue reading

Posted in Apex, salesforce, Salesforce Tips & Tricks, Visualforce | Tagged , | 15 Comments

Salesforce Utility Methods

Here are some of the utility methods, which we will be using very frequently in our salesforce world. Any addons to these methods are highly appreciated.

Posted in Apex, salesforce, Salesforce Tips & Tricks, Visualforce | 1 Comment

Pagination using standardsetcontroller

As the number of records increases, the time required for the browser to render them increases. Paging is used to reduce the amount of data exchanged with the client. Paging is typically handled on the server side (standardsetcontroller). The page sends … Continue reading

Posted in Apex, salesforce, Salesforce Tips & Tricks, Uncategorized, Visualforce | Tagged | 34 Comments

Wanted to know about Salesforce APIs?

Are you really go crazy sometimes like me to find out the differences between APIs in salesforce? If yes here are the answers for most of the questions. http://blogs.developerforce.com/tech-pubs/2011/10/salesforce-apis-what-they-are-when-to-use-them.html A great article by Dianne with the help of Pat Patterson.

Posted in Apex, salesforce, Salesforce Tips & Tricks, Visualforce | 1 Comment

Salesforce Winter’12 Release notes

Much awaited salesforce release notes for winter’12 https://na1.salesforce.com/help/doc/en/salesforce_winter12_release_notes.pdf Here is a pre-release link too for winter’12 https://www.salesforce.com/form/signup/prerelease-winter12.jsp Happy reading

Posted in Apex, salesforce, Visualforce | 5 Comments

Workbench on Cloud

Good news folks, now the workbench (beta) is available as a cloud service instead of installation headaches what an individual developer is having (especially who doesn’t know how PHP works) Here is the url for your test If you would … Continue reading

Posted in Apex, salesforce, Salesforce Tips & Tricks, Visualforce | 4 Comments

Force.com IDE / Eclipse Tips

Use CTRL+SPACE, for the code context assistance Use CTRL+SHIFT+R, to open the file from package explorer qucikly (make sure you add a ‘*’ to your search) Use a small icon as ‘-‘ in the package explorer to collapse all the … Continue reading

Posted in Apex, Salesforce Tips & Tricks, Visualforce | Leave a comment

Custom Multi-Select picklist field in Visualforce

There are several scenarios, where in we might have used input field for getting multi-select picklist field. What if you can’t really use an input field, here is the example code which will solve these type of problems. Page Code: … Continue reading

Posted in Apex, Salesforce Tips & Tricks, Visualforce | 17 Comments

Difference between Before Trigger and After Trigger

Do you wonder always what exactly is the difference between before and after triggers. Here is the small example which gives you better understanding with hello world example. Before Insert example For the same example if you just change the … Continue reading

Posted in Apex, Salesforce Tips & Tricks, Visualforce | 16 Comments