kensnyder
Head of Support
Head of Support

FAQs - Why does my JS file have <% when it was not in the source file?

 

Question

Why does my JS file have <% when it was not in the source file

Answer

This can cause an issue with minified files. If the user uses the Developer Template to add minified code that contains <$, the <$ will convert to <% and break the minified code, causing a "<%1>" to appear on the page.

 

Minified files should be uploaded directly, not use the Developer Template.  To resolve the issue, branch the asset that is using the Developer Template, and uncheck it in the content properties, then push through worfklow.

Labels (1)

Can't find what you are looking for?

Find Answers

Search our DXM Forum to find answers to questions asked by other DXM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question