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

Harsh Vardhan
Giga Patron

are you getting any error in console log ? can you add some screenshot here 

Hello Harshvarhan,

Yes I am seeing this error in the console log:

find_real_file.png

 

 

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.

 

spartacus1
Tera Contributor

Hi, currently our sp-date-picker doesn't pickup date after selection this is right after New York upgrade.

How did you achieved the installation of PptxGenJS? can I just copy the files from zip then paste it to the folder? then add the following into the widget?

script src=PptxGenJS/libs/jszip.min.js /script
script src="PptxGenJS/dist/pptxgen.min.js" /script

 

Please advise

Thank you in advance