Comments (2)
The powerbi-cilent-angular
library doesn't support server-side rendering, this library relies on window reference, which cannot be used in server-side rendering.
There are few potential solution for addressing this issue:
- Add a condition to check if window object exists before using the code. But it will skip the line of codes which relies on window object.
- Another approach will be to use dynamic import or lazy loading. It will make sure that the code is executed only in the browser, where window object is present.
from powerbi-client-angular.
Behavior is expected by design, server-side rendering is not supported. Closing the issue.
from powerbi-client-angular.
Related Issues (20)
- Make it possible to set the active page from outside the powerbi-client HOT 1
- Can't work with a low version of angular HOT 1
- TypeError: Cannot read properties of null (reading 'postMessage') HOT 2
- Missing fonts and styles in power bi embedded reports HOT 2
- Doesn't work with Angular 15 HOT 4
- Support for reseting a report HOT 6
- FrontLoadException conceptualSchema Exception: Unexpected end of JSON input
- Event Handlers not working for paginated reports. HOT 1
- Embeding PowerBI Desktop Report HOT 1
- Angular 16 Support HOT 5
- Can someone please explain how the token is delivered? HOT 8
- Optimization Npm Builed Failed when adding powerbi-client-angular in our Angular 16 app HOT 2
- Want to send additional parameters with request which we made to get the report HOT 2
- The PoberBI report stays in small iframe HOT 3
- How to show two or more PowerBI reports in the same page? HOT 2
- Unexpected results with LayoutSwitch
- Property 'changeType' does not exist on type 'VisualDescriptor'.
- Warning CommonJS or AMD dependencies
- NaN issues while using zoom sliders on the visuals HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerbi-client-angular.