There is no official documentation on what parameters get passed to a Custom Template Content section. What parameters are available to me?
What parameters are passed to CPQ Custom Visualforce Template Content
cpqvisualforce
cpqvisualforce
There is no official documentation on what parameters get passed to a Custom Template Content section. What parameters are available to me?
Best Answer
After some debugging, the following parameters were identified:
1
in testing.en_US
.1
indicates the preview option was selected,0
indicates the document should be generated.These can be used directly in your Visualforcepage using syntax such as
language="{!$CurrentPage.parameters.language}"
or in your Apex controller such asId templateId = (Id) ApexPages.currentPage().getParameters().get('tid');