Home Analyst Portal

SCSM Portal - Custom Page

John_LongJohn_Long Customer Advanced IT Monkey ✭✭✭
I'm trying to create some pages in our portal both for end user and analyst consumption.
When I try to use a SQL based component I'm getting Angular.js issues.

A known issue? Any advice?


Error: config.selectedQuery is undefined<br>enableQueryParamOption@https://<portal.fqdn>/Scripts/ng/page/adfWidgets/advancedCount/adf-widget-advanced-count.js?v=811:395:1<br>AdvancedCountEditController@https://<portal.fqdn>/Scripts/ng/page/adfWidgets/advancedCount/adf-widget-advanced-count.js?v=811:422:17<br>invoke@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:4203:14<br>instantiate@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:4211:27<br>$ControllerProvider/this.$get</<@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:8501:18<br>compileWidget/<@https://<portal.fqdn>/Scripts/libs/angular/angular-dashboard-framework.js?v=811:1155:42<br>processQueue@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:13248:27<br>scheduleProcessQueue/<@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:13264:27<br>$eval@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:14466:16<br>$digest@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:14282:15<br>$apply@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:14571:13<br>ngEventHandler/<@https://<portal.fqdn>/Scripts/libs/angular/angular.js?v=811:21571:17<br>dispatch@https://<portal.fqdn>/Scripts/kendo/2016.1.226/jquery.min.js?v=811:3:28285<br>add/v.handle@https://<portal.fqdn>/Scripts/kendo/2016.1.226/jquery.min.js?v=811:3:25025


Looks like the JS isn't loading right.



Best Answer

Answers

  • John_LongJohn_Long Customer Advanced IT Monkey ✭✭✭
    Hi @Geoff_Ross , that was fast! :D

    Just to confirm, this is a brand new page. Didn't get upgraded previously. Would that still be the case?
  • John_LongJohn_Long Customer Advanced IT Monkey ✭✭✭
    PS: the steps to reproduce would indicate yes.
  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Yeah, same bug can happen on new pages depending on what version you upgraded from to the buggy version.
    Fully fixed in latest or use the workaround.
  • John_LongJohn_Long Customer Advanced IT Monkey ✭✭✭
    I have added that line in the file as mentioned. I'm still getting the error in browser.

    Browser Console:

    Source map error: request failed with status 404
    Resource URL: https://<portal.fqdn>/Scripts/kendo/2016.1.226/jquery.min.js?v=811
    Source Map URL: jquery.min.map

    Localization Key Not Found AdfODataGridWidgetTitle
    custom-bindings.js:877:13
    Localization Key Not Found AdfODataGridWidgetDescription
    custom-bindings.js:877:13
    Localization Key Not Found AdfODataChartWidgetTitle
    custom-bindings.js:877:13
    Localization Key Not Found AdfODataChartWidgetDescription
    custom-bindings.js:877:13
    Localization Key Not Found AdfODataCountWidgetTitle
    custom-bindings.js:877:13
    Localization Key Not Found AdfODataCountWidgetDescription

    Followed by the same config.selectedQuery error as above.
  • John_LongJohn_Long Customer Advanced IT Monkey ✭✭✭
    Sorry @Geoff_Ross , must have been browser cache despite my best efforts to suppress it.
    Can add one now.

    Thanks for the tip!
Sign In or Register to comment.