I am upgrading to Kentico 8 from 7. I have code that looks like this: MetaFile.ResolveMetaFileImages(emailMessage, template.TemplateID, EmailObjectType.EMAILTEMPLATE, MetaFileInfoProvider.OBJECT_CATEGORY_TEMPLATE);
I know now that I need to call the CMS.EmailEngine.EmailHelper.ResolveMetaFileImages method but what is the equivalent for EmailObjectType.EMAILTEMPLATE? Upgrade docs say its no longer available. But what do I put in there to get this method upgraded?
Hello Shannon,
The replacement in Kentico 8 is:
EmailTemplateInfo.OBJECT_TYPE
Best regards, Martin
Please, sign in to be able to submit a new answer.