­
ForceTree.com
apex test coverage

A Guide to writing Test Methods for an Apex Class in Salesforce - Part 1

4:28 PM
Whenever you create an Apex Class (in Visualforce terms it may be called a controller or an extension), and when you want to move your Apex Class to production it is necessary that you have a Test Method for your Apex Class. Moreover, the test coverage for your Apex Class should be NOT less than 75%. Why is this and What's the need???...

Read More...

document upload

Uploading a Document into Salesforce using Visualforce

3:27 PM
In this article we will be understanding the procedure to upload a file into "Documents" using a Visualforce Page. You can upload a file and save it as an attachment against a record i believe, but i am not sure how to do this. Hence, this topic would only cover uploading a file to "Documents" under a folder you desire. I actually had...

Read More...

401

501 401 Certification Tips

1:48 PM
Long time since i wrote something in this website. I have also not been able to publish "A tip A day" regularly, it was because i had to switch my workplace to a new country. Things have settled down now and i hope to concentrate on posting good articles here.. I took my 501 certification recently and could not clear it. The questions...

Read More...