You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Date Formatting

Received Response
14
Views
1
Comments

I have a campaign with a dymanic variable called ORDER_DATE. The default value is 2016-09-27T11:48:27In my html I have the below RPL.${ORDER_DATE?string("MM/dd/yyyy")}When I preview the campaign, I get the below error.Email Message preview failed because of template execution runtime error, detailed error: Expected method. ORDER_DATE?string evaluated instead to freemarker.template.SimpleScalar on line 7, column 6 in cms://contentlibrary/responsyssupport/Support_Date_Issue.htm.If I replace the RPL with ${CONTACTS_LIST.CREATED_DATE_?string("MM/dd/yyyy")} it works fine.Does anyone know why the error keeps coming up?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!