Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
In the bower-components folder there is demo folder.
The Demo should show some new cool features how to interact from js with a report.
bower info powerbi-client --verbose
e.g.
bower install powerbi-client#2.0.0-beta.8
Sadly i get always an error message in app.js line 2
2: var models = window['powerbi-client'].models;
ErrorMeassage: jQuery.Deferred exception: Cannot read property 'models' of undefined TypeError: Cannot read property 'models' of undefined at HTMLDocument.
Anyone got it to work ?
michael
The `dev` branch is currently under active development. If you are having trouble with bower please try NPM for the time being.
Checked out via NPM. Still you need to install via bower in the demo folder.
I understand that this is under heavy development. It would be great to be able to test a beta version even at this early stage.
michael
We are releasing to a `beta` tag in NPM. For bower you can pull by git tag which should match the same NPM versions.
ok i found the error. Bower installs version 1.1.0 and not the beta version in the demo folder
the demo tries to load
https://portal.analysis.windows-int.net
This server ist not reachable. I guess this server is internal to MS.
Perhaps it woiuld make sense to make the reports availible for everyone 😉
Will check the code for now.
Thnaks
michael
Hi there,
using nuget with Visual Studio 2015 and the following command: Install-Package Microsoft.PowerBI.JavaScript -Pre
only tries to install the current version 1.1.0, not 2.0.0 beta .
Is there any way to install the beta in a asp.net project?
Best regards
We haven't published the beta version on Nuget yet. For now you can either reference the beta version via NPM/bower with beta tags. Or you can clone the repo and build a local copy from https://github.com/Microsoft/PowerBI-JavaScript.