microsoft / PowerBI-visuals-tools

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

Passing query parameter to server #490

Closed piedukexyz closed 1 year ago

piedukexyz commented 1 year ago

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

AleksSavelev commented 1 year ago

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

piedukexyz commented 1 year 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 1 year 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/