Comments (3)
-
Use this in your component to get a ref to your Report:
@ViewChild(PowerBIReportEmbedComponent) reportRef!: PowerBIReportEmbedComponent; -
call one of these:
this.reportRef.getReport().fullscreen();
this.reportRef.getReport().print();
There are other methods too, please search for the js documentation.
from powerbi-client-angular.
I am getting reportRef object as undefined all the time.
I have followed the documentation keenly, still no luck
could you help me in this
from powerbi-client-angular.
Hi @mohsinjamadar this kind of question belongs to stackoverflow and not here. Post your question there.
Also I cant say anything without seeing some code, here some things to check:
- are you sure that you use this lib?
- do you have the tag in your template?
- do you import correctly in your component?
import { ViewChild } from '@angular/core';
import { PowerBIReportEmbedComponent } from 'powerbi-client-angular';
Maybe the report needs to get the embedConfig first and at least load a report.
Other than that its really hard to say.
from powerbi-client-angular.
Related Issues (20)
- Does powerbi-cilent-angular library supports server side rendering? HOT 2
- 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 HOT 1
- Property 'changeType' does not exist on type 'VisualDescriptor'.
- Warning CommonJS or AMD dependencies
- NaN issues while using zoom sliders on the visuals HOT 4
- ERROR Error: Invalid embed URL detected. Either URL hostname or protocol are invalid. Please use Power BI REST APIs to get the valid URL HOT 3
- Refresh Token issue on token expiry HOT 6
- cannot install power bi angular in Angular 10.0.3version and node 16v HOT 1
- Token refresh issue. HOT 3
- ReportObj for Multiple powerbi reports Refresh issue
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.