Avatar

Community Advisor

Hi Jaspreet,

Please may you check if there is an extra white space in your codebetween % and = glyphs, or only in your ticket post?

I read:

<% = vars.fileName %>

(extra blank)

instead of:

<%= vars.fileName %>

(correct syntax).

If this was not due to mistype that I guess, please may you share a screenshot for Delivery scripting?

By the way, why do you define a variable vars.fileName, why don't use the standards event variable vars.filename (with N uppercase)?

Regards.
J-Serge