on 06-24-2020 5:56 PM
Hi,
In order to retrieve the Email Template Category from Campaign BO there is no direct association exists. Hence you need to first retrieve the Email template UUID from Campaign.ExecutionStep.EmailTemplateUUID. Donot stop here and also store other parameter like FromEmailURI/content, ReplyToEmailURI/content, ReplyToEmailName, FromEmailName which will be used later.
Then you need to use standard BO MarketingEmailTemplate of AP.CRM.Global namespace to fetch the related category of the email template. This should be done using QueryByElements BUT you will soon realise that EmailTemplateUUID is not exposed as a query parameter. So you need to filter all the emails templates based on filter value like FromEmailURI, FromEmailName, ReplyToEmailURI (retrieved from campaign) and then compare the value of email templates with the one from Campaign.ExecutionStep.EmailTemplateUUID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.