microsoft / PowerBI-visuals-tools

Contains tools for building/packaging Power BI visuals
https://www.powerbi.com
MIT License
330 stars 148 forks source link

Passing query parameter to server #490

Closed piedukexyz closed 10 months ago

piedukexyz commented 10 months ago

Is it possible to pass a query parameter when running the nodejs server for the visual?

AleksSavelev commented 10 months ago

Unfortunately, it's not possible. Could you, please, describe the use case and why you need it?

piedukexyz commented 10 months ago

We're trying to use a integrate in a custom visual a script that requires indexeddb but we can pass it this parameter to make it skip. Another option to disable indexeddb could potentially work as well

AleksSavelev commented 10 months ago

Currently, custom visuals don't support this API at all. However, we are working on enabling local storage API for custom visuals in the future. You can follow our official blog to learn about the latest features: https://powerbi.microsoft.com/en-us/blog/