Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Webapp overriding standard dependencies

jeremyasmith
Level 2
Level 2

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

1 Accepted Solution
Florian_Courgey
Correct answer by
Community Advisor
Community Advisor

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

 

View solution in original post

2 Replies
Manoj_Kumar_
Community Advisor
Community Advisor

Adding one more point to this questions. Can we complete remove everything that adobe campaign adds to the webapp by default.

Florian_Courgey
Correct answer by
Community Advisor
Community Advisor

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

 

View solution in original post