Skip to main content
Marcel_Szimonisz
Community Advisor
Community Advisor
Sep 28, 2020 9:43 AM UTC
Delivered

update jquery library in ACC

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.

3 replies

Level 4
Sep 29, 2020 9:37 AM UTC

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

Translate
Marcel_Szimonisz
Community Advisor
Community Advisor
Sep 29, 2020 12:53 PM UTC

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? 

Translate
Sukrity_Wadhwa
Level 4
Feb 3, 2021 10:33 AM UTC

We already have updated the recent versions. Customers have to check their version and upgrade if needed.

Translate
Sukrity Wadhwa