Expand my Community achievements bar.

SOLVED

Exercise 7, Part 3 Error When Previewing HTML

Avatar

Level 2

This refers to Exercise 7, Part 3 Composing Dynamic Content.

I keep receiving the error below when I try to complete Exercise 7, Part 3. This occurs when I insert an image from the library. Anyone else experiencing any issues with this lesson?

Delivery:

642823_pastedImage_2.png

Error Message:

642822_pastedImage_0.png

1 Accepted Solution

Avatar

Correct answer by
Employee

In fact, this is a known bug SD7451 that was fixed in build 8104.

The bug is that editing the HTML content introduces erroneous/extraneous <PRE></PRE> tags into the content. You can go to the Source tab (at the bottom of the delivery editor) and remove them, however if you  have already confirmed the delivery, you cannot change its content. At that point the delivery will fail each retry until it reaches the end of the validity period. So don't confirm if your preview is failing, unless the tags got inserted after you previewed the content? At the office hours, I can show you how to view/correct the sources, as well as an alternate way of creating dynamic content with the digital content editor or DCE available in 6.1.

Two bonus questions:

Who can tell me the Build number of our training environment? (Both the server and the client.)

Where is the validity period configured on the delivery?

View solution in original post

13 Replies

Avatar

Employee

This is more than I can cover in a forum discussion, but I can cover this on Friday or if anyone wants to book some office hours Thursday 5 - 7 PM EST we can go over this then.

Linda

Avatar

Level 2

Hi Linda,

I'd like to book some time with you on Thursday at 5pm CST to cover this topic.

Thanks,

Michele Key

Avatar

Employee

Great, meet me on our weekly connect room and conference call number and we will work through this example. Anyone else who wants to join, feel free. This will be at 6 PM Eastern, 3 PM Pacific, if I am understanding my time zones correctly...

Avatar

Correct answer by
Employee

In fact, this is a known bug SD7451 that was fixed in build 8104.

The bug is that editing the HTML content introduces erroneous/extraneous <PRE></PRE> tags into the content. You can go to the Source tab (at the bottom of the delivery editor) and remove them, however if you  have already confirmed the delivery, you cannot change its content. At that point the delivery will fail each retry until it reaches the end of the validity period. So don't confirm if your preview is failing, unless the tags got inserted after you previewed the content? At the office hours, I can show you how to view/correct the sources, as well as an alternate way of creating dynamic content with the digital content editor or DCE available in 6.1.

Two bonus questions:

Who can tell me the Build number of our training environment? (Both the server and the client.)

Where is the validity period configured on the delivery?

Avatar

Level 1

In the Client console our version is 6.1.0 and the build is 8034.

I am not sure how to tell the server build number....

The validity period is the time between the start and end date.

Avatar

Employee

You are partly right Jennifer, thanks for answering the question!

If you go to the Help menu on the Tool bar and select About... it will show both the client console build and the Application server build.

BuildVersion.jpg

The campaign start and end dates default to today and today + validity period, but the validity period for the Delivery controls how many days retry is attempted when deliveries fail with a soft bounce. It is set as part of the delivery properties.

DeliveryValidity.jpg

Avatar

Level 1

Ok - thank you... I was right there and I missed it. :-(  Now I know.  :-)

Avatar

Employee

No problem! I thought you figured out another way to view the client build.

Avatar

Level 2

Looks like I've already missed the Thursday session, but I'm getting a different error anyway:

Error while evaluating document

The 'temp:deliveryEmail-all' temporary schema is not defined in the current context.

The link to individuals defined in the delivery mapping ('') is invalid. Please check the mapping configuration and make sure that the necessary fields have been added in the nms:broadLog schema (@customerId1...).

PostgreSQL error: ERROR: table "wkdlv_831795_19e11" does not exist

SQL statement 'DROP TABLE wkDlv_831795_19e11' could not be executed.

PostgreSQL error: ERROR: table "wkdlv_831795_19e11_excl" does not exist

SQL statement 'DROP TABLE wkDlv_831795_19e11_Excl' could not be executed.

If we can touch on this during the Friday live session, that would be great.

Avatar

Level 2

...and upon trashing it and rebuilding, I get a new error, seemingly related to the inclusion of a library image (is this an image hosting issue?):

Error while evaluating document

Error while compiling script 'content htmlContent' line 17: syntax error (line='</PRE>document.writeraw(" \n<P></P>\n<P><IMG border=0 alt=\"Las Vegas - Bellagio\" \nsrc=\"http://training13.us.neolane.net/res/campaign/las_vegas.jpg\" width=250 \nheight=187></P>\n<P>"); ' token='</PRE>document.writeraw(" \n<P></P>\n<P><IMG border=0 alt=\"Las Vegas - Bellagio\" \nsrc=\"http://training13.us.neolane.net/res/campaign/las_vegas.jpg\" width=250 \nheight=187></P>\n<P>"); ').

JavaScript: error while compiling script 'content htmlContent'.

Unable to compile script (content htmlContent).

Avatar

Employee

Hi Todd, I will look at this now. For anyone who is working through the conditional content exercise in the Dynamic Content lesson, I recommend that you instead watch and work through the DCE demo that comes after it as you might not be able to complete the conditional content exercise due to a bug in this build of the server.