update jquery library in ACC

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

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.

3 Comments

Avatar

Avatar

Florian_Courgey

MVP

Avatar

Florian_Courgey

MVP

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

Avatar

Avatar

MarcelSzimonisz

MVP

Avatar

MarcelSzimonisz

MVP

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? 

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

03-02-2021

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

Status changed to: Delivered