cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Access campaign ID of email action in SAP Hybris Marketing

Former Member
0 Likes
345

When customizing the yMarketing email action I have to deal with the class CL_CUAN_MKT_EXEC_EXECUTE_EMAIL. In this process, I need to access the ID of the campaign which starts the action. To be more specific, I need the ID when the personalization of the email is handled which happens within the personalize() method.

I couldn't find any information about the executing campaign ID, just about the content ID of the email. Does anyone know how to access the campaign ID?

Kind regards.

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee

Hi,

In the same class there is an instance attribute "MS_MKTORC_ROOT" which holds the campaign ID being executed. This can be access via me->ms_mktorc_root-initiative_id. Can you please check this?

Thanks

Former Member
0 Likes

Hi Saurabh, I currently have a question which is kind of the same topic. Maybe you can prevent an answer on this too: Access Partner ID in the email action of SAP Hybris Marketing

Answers (0)