Skip to main content
1 of 7
PartOfTheOhana
  • 10.6k
  • 15
  • 95
  • 182

How to pass paramaters from an email template into a custom component?

setup:

Opportunities are related in a MDR to children__c object. When my opp reaches a stage, an email alert (via workflow) gets sent out with the opp info. I want to include a list of urls for the children record related to that master opp. I did some reading- and it looks like custom components do the trick.

questions:

  1. is this the right approach?
  2. how do i pass params to the custom compoenent?
  3. how/ can i create a pdf of each children record and attach those to the email blast?
PartOfTheOhana
  • 10.6k
  • 15
  • 95
  • 182