Webapp overriding standard dependencies

jeremyasmith

03-12-2019

Hi,

In our web apps we have some AC included code:

<!-- deps in mode min/en -->

<meta http-equiv='Pragma' content='no-cache'/>

<link href='https://forums.adobe.com/nl/gen/min/nlsrc-6bdd9abcac0341bf4944dcac76523237.css' rel='stylesheet' type='text/css'></link>

<link href='https://forums.adobe.com/nl/gen/min/nlsrc-ac245a7a6abc7827968672a3c996b1d9.css' rel='stylesheet' type='text/css'></link>

<script type='text/javascript'>var Timeline_urlPrefix='/nl/lib/timeline/', Timeline_parameters='defaultLocale=en'

</script>

<script src='/nl/gen/min/WA-en-cf461481d56f1e56aa870f98218b501b.js' charset='UTF-8' type='text/javascript'></script>

<script src='/nl/gen/min/WA-6f241b2d1318b2ccb1257fb73e7382e3.js' charset='ISO-8859-1' type='text/javascript'></script>

<script src='/nl/gen/min/nlsrc-en-8bcc92dd32efa47243e5f76b6eeca030.js' charset='UTF-8' type='text/javascript'></script>

<script src='/nl/gen/min/nlsrc-9efa850eaa65daa1c6057cf7c5f35d69.js' charset='ISO-8859-1' type='text/javascript'></script>

<!-- END deps in mode min -->

Is there anyway that we can override this easily, we have an included css library which when we have the nlsrc-ac245a... file loaded breaks the new library layout, but if we remove the nlsrc-ac245a.... library it works. We would want to remove the nl styling just for this web app if possible but it seems to be included as standard from /usr/local/neolane/nl6/web/gen/min

Jeremy

Accepted Solutions (1)

Accepted Solutions (1)

floriancourgey

26-12-2019

Hi,

 

Web apps are JSSP pages created from an HTML template. The template is the XSLT web-webApp.xsl which further calls web-core.xsl, which contains calls to core.xsl.

 

In your web app, go to the "Code" tab, next to the "Edit" tab in the lower menu bar, and hit "refresh the code". You can then compare the JSSP code with the generated HTML code:

 

If you'd like a full controll over the generated HTML, either create a JSSP from scratch or edit the XSLT

 

Source https://blog.floriancourgey.com/2018/07/use-the-context-in-web-apps-in-adobe-campaign

 

Answers (1)

Answers (1)