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

How to change Email Template URL link in BAdi IF_CUAN_CMSG_ADAPT_HYPERLINKS~ADAPT_URL

arvinth
Explorer
0 Kudos
579

Dear Experts,

We are in Hybris marketing on-premise 1709 SP01.

While sending marketing email from hybris marketing email template we want to change the base URL ink.

for example we have the following URL link in the email content template

https://www.xxxxxxxx.de/ssss.aspx?id=A0232M017∏id=4≠wsletter=2017/50/weihnachten/test#AnkerParameter...

in the BAdi CUAN_CMSG_ADAPT_HYPERLINKS~ADAPT_URL

we want to add the additional parameters before the # like below

https://www.xxxxxxxx.de/ssss.aspx?id=A0232M017∏id=4≠wsletter=2017/50/weihnachten/test<<cmpId=32323&cntID=34343>>#AnkerParameters

Is it possible ? How can I achive this in this BAdi (this BAdi is not passing Base URL link as input parameter)?

Many Thanks.

Kind Regards, Arvinth


View Entire Topic
arvinth
Explorer
0 Kudos

Dear Maris,

Thanks for the reply.

It is not possible to read the URL in this BAdi, only we can add additional parameters.

The system behaves like this: in this badi collecting all aditional parameters and then adding to URL in this method REPLACE_LINKS_HCP (CL_CUAN_CMSG_PERSONALIZE_EMAIL).

In this BAdi no option to change/read Base URL link.

Is there any other way ?

Kind Regards,

Arvinth