You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
I would like it so when I put multiple assets into the list associated asset query, I can return the assets associated with each chosen asset.
Describe alternatives you've considered
I've looked to create multiple queries for each parent asset, but then this does not scale well as I create many assets with many children.
Additional context
Instead of only showing one sensor, it should show 3+ assets associated with the chosen assets.
The text was updated successfully, but these errors were encountered:
Thank you for raising this issue to the team. We are working on a different query editor experience that uses execute query and will let you write your own queries. This will allow you to write a query to list associated assets from multiple assets. It is planned to be released in February.
Hi @serrat839, just to clarify we will be having this issue fixed directly. As @jmbuss we will also be releasing an updated query editor experience that you may find very useful, but we'll also be addressing the bug you noted in list assets not supporting multiple assets.
Is your feature request related to a problem? Please describe.
Specifically in this file: https://github.com/grafana/iot-sitewise-datasource/blob/main/pkg/sitewise/api/list_associated_assets.go#L20, you are unable to list assets associated with a list of assets. This code only accepts a single assetID despite the grafana form taking in multiple assetIDs. This breaks the ability to create complex chains of queries.
Describe the solution you'd like
I would like it so when I put multiple assets into the list associated asset query, I can return the assets associated with each chosen asset.
Describe alternatives you've considered
I've looked to create multiple queries for each parent asset, but then this does not scale well as I create many assets with many children.
Additional context
Instead of only showing one sensor, it should show 3+ assets associated with the chosen assets.
The text was updated successfully, but these errors were encountered: