update jquery library in ACC

MarcelSzimonisz

MVP

28-09-2020

It would be nice to get update for jquery library currently we have 1.9.1 which has some security vulnerabilities and we cannot choose not to load the library in our web app.

2 Comments (2 New)
2 Comments

Florian_Courgey

MVP

29-09-2020

Hi,

Web apps are simple JSSP with added codes from XSL templates such as web-webApp.xsl and web-core.xsl. you may find more about web apps generation in this blog post.

For example, "xtk:form/web-core.xsl" contains at line 124 the following jQuery inclusion:

NL.client.require('/nl/core/controls.js', '/nl/lib/jQuery/js/jquery.js', '/nl/core/uicontroller.js');

You can also replace jquery.js on the server (via an FTP upload, then a execCommand('mv').

Finally, you may use use a JSSP for full control over the generated HTML.

Best

Florian

MarcelSzimonisz

MVP

29-09-2020

Hello Florian,

thank you for your input.. We cannot access the files on server and was told cannot be replaced.

Can i tell that this web app will use another XLS in which i remove the jquery?