11. A computer-readable storage medium having one or more instructions thereon for providing a quote template in a multi-tenant database system, the instructions when executed by one or more processors causing the one or more processors to carry out: receiving input indicating a selection of a first database object to be used in creating a document template in a multi-tenant database system; retrieving a list of database fields related to the first database object; generating a graphical representation for each database field in the list of database fields retrieved from the first database object, the graphical representation for each of the database fields forming at least a part of the document template; displaying, in a user interface, the graphical representation for each database field related to the first database object; storing layout information of one or more selected graphical representations of one or more database fields in the document template in the multi-tenant database system; and rendering a document in a target format using the layout information in the document template.
11. A computer-readable storage medium having one or more instructions thereon for providing a quote template in a multi-tenant database system, the instructions when executed by one or more processors causing the one or more processors to carry out: receiving input indicating a selection of a first database object to be used in creating a document template in a multi-tenant database system; retrieving a list of database fields related to the first database object; generating a graphical representation for each database field in the list of database fields retrieved from the first database object, the graphical representation for each of the database fields forming at least a part of the document template; displaying, in a user interface, the graphical representation for each database field related to the first database object; storing layout information of one or more selected graphical representations of one or more database fields in the document template in the multi-tenant database system; and rendering a document in a target format using the layout information in the document template. 17. The computer-readable storage medium of claim 11 , wherein the user interface is a visual template editor.