Dynamic Components
Choose which component to render at runtime based on Salesforce data.
PreviousCombining Components with Render LogicNextAdding Headers & Footers from Components in PDF Templates
Last updated
Was this helpful?
Choose which component to render at runtime based on Salesforce data.
Dynamic components allow you to determine which component is rendered at runtime based on Salesforce data.
If you have components named:
Pricing Sheet English
Pricing Sheet Spanish
You can dynamically reference them:
{{{{!Pricing Sheet {{!Opportunity.Language__c}}}}}}When to use Dynamic Components:
Small, known sets of components
1 variable dimension such as language, region, or tier
Clean naming conventions
Avoid when:
More than ~2 variables
Component selection depends on record lists
Scalability and maintainability are concerns
Last updated
Was this helpful?
Was this helpful?

