on 09-11-2014 5:08 PM
Hi Experts,
I try to generate an email by using the default generating process. In result, the email is correctly sent, but the Images from the content slot are note displayed.
In the process i have this error on the generateCustomerRegistrationEmail Step :
ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailSiteLogoComponent] of type [CMSImageComponent] in slot [EmailSiteLogoSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-CMSImageComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailProductDetailComponent] of type [ProductFeatureComponent] in slot [EmailProductContentSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-ProductFeatureComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailBottomLeftBanner-1] of type [PushComponent] in slot [EmailBottomLeftSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-PushComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailBottomRightBanner-1] of type [BannerComponent] in slot [EmailBottomRightSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-BannerComponent-template]ERROR [DefaultEmailContextFactory] Couldn't find render template for component [EmailBottomRightBanner-2] of type [BannerComponent] in slot [EmailBottomRightSlot] for site [Site-FR] during process [StoreFrontCustomerProcessModel (8796818571262)]. Tried code [Site-FR-BannerComponent-template]INFO [GenerateEmailAction] Email message generated
What am i doing wrong ? Any ideas ?
Thx
The Problem is it is missing render templates. When you are using any components in email, you need to specify the corresponding templates for them and they should start with UID of your site. The below gives you an example. Please refer to OOB implementation for further details. UPDATE RendererTemplate;code[unique=true];description[lang=$lang];templateScript[lang=$lang,translator=de.hybris.platform.commerceservices.impex.impl.FileLoaderValueTranslator] ;siteId-CMSImageComponent-template;CMSImageComponent Template;$emailResource/email-cmsImageComponentTemplate.vm;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it's working now.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.