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… Advertisements
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.
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
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.
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
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
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
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
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