- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2020 10:00 AM
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
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2020 10:06 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2020 06:55 AM
Hi Spartacus,
We created a Widget Dependency with the two JS Includes shown here:
and then added this as a dependency to the widgets that need to use it:
You can then instantiate it directly in the Client Controller like this:
var pptx = new PptxGenJS();
Hope that helps!