Forum Discussion
Why do custom visuals need a network connection?
- 9 years ago
Hmm, I wonder if it is not that custom visuals necessarily require an Internet connection but that a lot of custom visuals utilize external libraries like JQuery, etc. that are perhaps referenced versus embedded in the code?
Hmm, I wonder if it is not that custom visuals necessarily require an Internet connection but that a lot of custom visuals utilize external libraries like JQuery, etc. that are perhaps referenced versus embedded in the code?
Your response appears to be correct.
I intentionally generated this error and looked into the error details that PowerBI provides. The stack trace is below. It's getting external .JS files.
From a users perspective, these files could likely be cached locally so that a network connection isn't needed, although, I'm not sure how often this case occurs.
-----
Stack Trace:
Microsoft.Mashup.Host.Document.JavaScriptException: An error occurred while rendering the report.
TypeError: Cannot set property 'LongTextViewer1453740445633' of undefined
at ApprovedResourceService.removeApprovedResource (ms-pbi://pbi.microsoft.com/minerva/scripts/VisualHostCore.js:147:44)
at ms-pbi://pbi.microsoft.com/minerva/scripts/VisualHostCore.js:217:115
at processQueue (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:15757:28)
at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:15773:27
at Scope.$eval (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17025:28)
at Scope.$digest (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:16841:31)
at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:17064:26
at completeOutstandingRequest (ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:5824:10)
at ms-pbi://pbi.microsoft.com/minerva/scripts/angular.js:6100:7
-----
Thanks!
- v-haibl-msft9 years agoMicrosoft Employee
The fix for it will be available in the October Desktop release. Please check it later in the next version.
Best Regards,
Herbert
- FancyDolphin9 years agoFrequent Visitor
Do you have an idea or instructions on how I would go about saving a template like timeline for example locally cached to be able to use the full functionality wihtout having to access the internet?