Hi all. We are using the React UI SDK. We want to...
# gooddata-ui
a
Hi all. We are using the React UI SDK. We want to embed an insight, however also apply the filters that we have defined on a dashboard, onto this insight. Is there a good approach to do this? We know we can get the workspace filter contexts using the API. However this format does not look the same as the SDK
IFilter
notation.
m
@Anne-Mirthe Hello, you can convert them with
dashboardAttributeFilterToAttributeFilter
function from
@gooddata/sdk-ui-dashboard
package and pass them to
InsightView
component via
filters
property. Is it what you are looking for?
a
@Stijn Habekotté this is very interesting. Can you take a look after the demo? also @Matyáš Kandl thank you very much!
👍 1