Forum Discussion

GregBoet's avatar
GregBoet
Frequent Visitor
2 years ago
Solved

How to find out SDK version for Javascript

In describing the use of the Javascript getSlicerState() method to get the state of hierarchy slicers, the Power BI documentation says that "the hierarchy slicer is supported from SDK version 2.21".

When I use Javascript to call slicer.getSlicerState(), sometimes I am getting good responses, but sometimes am getting exceptions thrown for hierarchy slicers, as described in a previous question I posted.

I want to rule out any problem with the "SDK version," but I do not understand what this means in the context of calling a Javascript method for a Power BI embedded report.

 

I understand what the Power BI SDK is, in the sense of the .NET NuGet package Microsoft.PowerBI.Api, but I do not understand how I can check my "SDK version" in any sense that is relevant when using Javascript rather than .NET.

 

The technology I am familiar with is .NET and Javascript for web app software development. There are others in my company who build Power BI reports. If there is something on their end that needs to be checked, I am going to need to know what specific questions to ask them.

 

Can anyone explain what I am missing? Is there truly a Javascript-relevant SDK version that I need to be checking here, or is the documentation leading me astray here?