Digital Experience Management
cancel
Showing results for 
Search instead for 
Did you mean: 

FAQs for DXM

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 (2)
Version history
Revision #:
5 of 5
Last update:
‎04-18-2019 01:33 PM
Updated by:
 
Contributors
Looking for more?
Ask in Discussions
Developers

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.