Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Write tables in JavaScript at run-time

alexiosb2287557
Level 2
Level 2

Hi all,

We are trying to do the following and I wonder if we are thinking this correctly.

1) Add a Javascript code on the email body of a Delivery

2) During run-time the JavaScript code selects a random content version to display

3) During run-time the Javascript saves the content version together with the respective user in an Adobe Campaign table

Is this something possible? Do you have any performance concerns if the Delivery is a bulk campaign for millions of subscribers?

The table we are appending to could get large, do you have any recommended limit for your tables?

1 Accepted Solution
florentlb
Correct answer by
Level 10
Level 10

Hi,

I think it's not recommended to use scripts in the body of an email for several reasons, the main one being that some email clients don't process it correctly, which may impact hugely your deliverability.

I'm not sure what you are saying is possible but it should be not too far from what's described here: https://docs.campaign.adobe.com/doc/AC/en/DLV_Content_management_About_content_management.html

Hope this helps,

Florent

View solution in original post

2 Replies
florentlb
Correct answer by
Level 10
Level 10

Hi,

I think it's not recommended to use scripts in the body of an email for several reasons, the main one being that some email clients don't process it correctly, which may impact hugely your deliverability.

I'm not sure what you are saying is possible but it should be not too far from what's described here: https://docs.campaign.adobe.com/doc/AC/en/DLV_Content_management_About_content_management.html

Hope this helps,

Florent

View solution in original post

alexiosb2287557
Level 2
Level 2

Hi Florent,

I could be wrong, but can't we have server-side Javascript run?

My understanding is that this is possible.

If we have server-side JS, this would mean that no JS will actually appear on the client side.