Forum Discussion
Get Paginated Report Parameter names, values or definition that are Embedded in a Web site
Hello all
Currently I am using the latest version of powerbi-client for javascript to embed reports. Now I have embedded a paginated report using the interface IPaginatedReportLoadConfiguration, because with this interface I can set the parameters of my report from my web to the report like the next code:
const config: IPaginatedReportLoadConfiguration = {
accessToken: token,
tokenType: models.TokenType.Embed,
embedUrl: embedUrl,
type: 'report',
id: id,
parameterValues: [ {name: "myname", value: "value" } ],
settings: {
commands: {
parameterPanel: {
enabled: true,
expanded: true
}
}
}
};
this.powerBIService.embed(element, config);
this is working fine, but I need to know the list of parameters dynamically because my paginated reports can have different amount of parameters. if there's any way to get the list of paginated report parameters ? I haven't found any information in the the sandbox.
- Anonymous2 years ago
Hi Anonymous,
After I check on the rest API for paginated report, it seems not include related APIs to get available parameter list from paginated report.
Perhaps you can try to submit an idea for add support with this type of report.
Regards,
Xiaoxin Sheng
2 Replies
- AnonymousNot applicable
Hi Anonymous,
After I check on the rest API for paginated report, it seems not include related APIs to get available parameter list from paginated report.
Perhaps you can try to submit an idea for add support with this type of report.
Regards,
Xiaoxin Sheng
- AnonymousNot applicable
thank you!