sp-date-picker not working after upgrade to New York

Jamsta1912
Tera Guru

Hi all,

We have a number of custom service portal widgets using sp-date-picker. Since upgrading to New York earlier this week, the date-pickers have stopped functioning. When the user selects a date from the picker, the field does not update.

Any suggestions?

Thank you

1 ACCEPTED SOLUTION

Jamsta1912
Tera Guru

Hello all,

In the end, ServiceNow support were able to advise about this. I'm sharing here, in case others experience something similar.

We are using the PptxGenJS package from here:
https://github.com/gitbrent/PptxGenJS

It's set up as a widget dependency. The version we had, uses JQuery version 2.1.4, which was overriding the ServiceNow version 2.2.3-snc.

Portal directives are not supporting all versions of Jquery and overriding the ServiceNow version is not recommended.

We're now using the latest version of PptxGenJS, which does not use JQuery. This has resolved our issue and the date-pickers are now working.

 

View solution in original post

5 REPLIES 5

Jamsta1912
Tera Guru

Hi Spartacus,

We created a Widget Dependency with the two JS Includes shown here: 

find_real_file.png

and then added this as a dependency to the widgets that need to use it:

find_real_file.png

You can then instantiate it directly in the Client Controller like this:

var pptx = new PptxGenJS();

Hope that helps!