- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 11:50 PM
Hello Team,
Recently we upgraded to Newyork Version from London and when Launching the service Portal, empty page loads only with header. Console of the browser after loading the page shows the below error on custom UI script.
Error: [$injector:unpr] Unknown provider: $elementProvider <- $element
Please suggest what is causing the error in below UI script code:
Your assistance is much appreciated.
Thanks & Regards,
Indira Priya Darsini M,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019 07:42 AM
Hello,
spNotificationsDirective controller function updated in Newyork with additional $element parameter. Hence the custom script throwing the error.
controller: function($scope, $element) {
Updated the custom script to sync with the new controller function as highlighted below.
Now the service portal launches without any error.
Thanks & Regards,
Indira Priya Darsini M.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2019 12:11 AM
Hi
Please go through the below link if that helps : -
Regards,
Omkar Mone.
www.dxsherpa.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019 07:42 AM
Hello,
spNotificationsDirective controller function updated in Newyork with additional $element parameter. Hence the custom script throwing the error.
controller: function($scope, $element) {
Updated the custom script to sync with the new controller function as highlighted below.
Now the service portal launches without any error.
Thanks & Regards,
Indira Priya Darsini M.