You need to sign in to do that
Don't have an account?
WEN JIE
Error about when use component in a email template
Hi,
I have a compotent display some info for one sobject. And for this component I have a custom controller to select info about this object by record id. I also create an attribute for this component to get record id from template.(I test it works well)
Then I create a visualforce email template. I set recipientType as "User" and relatedToType as my sobject. Then invoke that component in <messaging:attachment renderas="pdf">.
Then I saw this error message: