내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Typology rule to change the domain of an image in deliveries

Avatar

Level 3

Hello guys!

I'm creating a typology rule to change the domain of an image in my deliveries. Currently, I have three sender addresses on the platform, because I send e-mails from three stores that are part of the commercial group.

The rule for this change should be as follows: If the delivery sender address has a "test.com" domain, in HTML the src = "http://campaign80-us.adobevlab.com/res/trn/87d1c2793a6a5e62a678882993a122b2.jpg" should be changed to src = "http: //campaign80-us.test.com/res/trn/87d1c2793a6a5e62a678882993a122b2.jpg ".

Does anyone have any tips for me to do this in the Adobe Campaign?

Once again, thank you !!

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hello,

create typology rule type "Control" where you can do javascripting

1484009_pastedImage_4.png

In the code tab you can do eg.:

delivery.content.html.source <-- html of you email

delivery.content.text.source <-- text of your email

delivery.content.html.source = delivery.content.html.source.replace(regex_magic, replacement);

return true;

regex you have to do by yourself

Marcel

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 10

Hi,

I don't know how to do this. Do you mean that you want the resource to be hosted on different domains? I'd recommend checking with support who know more about these types of domain-related queries.

Let us know if you find an answer.

Florent

Avatar

Level 10

Hi,

Any update on your question?

Florent

Avatar

정확한 답변 작성자:
Community Advisor

Hello,

create typology rule type "Control" where you can do javascripting

1484009_pastedImage_4.png

In the code tab you can do eg.:

delivery.content.html.source <-- html of you email

delivery.content.text.source <-- text of your email

delivery.content.html.source = delivery.content.html.source.replace(regex_magic, replacement);

return true;

regex you have to do by yourself

Marcel