There is no official documentation on what parameters get passed to a Custom Template Content section. What parameters are available to me?

1 Answer 1


After some debugging, the following parameters were identified:

Parameter Description
inline Unsure of how this is used. It appears to be boolean and is 1 in testing.
language The language to render the document in. For example en_US.
preview 1 indicates the preview option was selected, 0 indicates the document should be generated.
qid The Quote Id.
tid The Template Id.

These can be used directly in your Visualforcepage using syntax such as language="{!$CurrentPage.parameters.language}" or in your Apex controller such as Id templateId = (Id) ApexPages.currentPage().getParameters().get('tid');

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .