Has anyone figured out a way to update images acco...
# gd-beginners
Has anyone figured out a way to update images according to filter? e.g., we have a setup where someone might select "Facebook" as a filter on a variable "app", and we'd like to have the app icon shown on the dashboard. We have a link to an image of the facebook icon and other app icons, which work well statically in the rich text embed, but that doesn't respond to filters (afaik)
Hi Daniel, I’m afraid that it’s not possible to use filters to dynamically affect images (or any other web content) on GoodData dashboards out-of-the-box. You’re correct, the Rich Text widget doesn’t respond to the filters; These can only affect Insights. It might be possible to do something like this via our GoodData.UI SDK, which would require some development work to customize everything.
There is an option to display image based on data containing link to the image in Repeater visualization. See documentation: https://www.gooddata.com/docs/cloud/create-visualizations/visualization-types/repeaters/#images. I think it may work for you.
🙌 1
Screenshot 2024-05-14 at 13.43.02.png,Screenshot 2024-05-14 at 13.42.47.png,Screenshot 2024-05-14 at 13.42.35.png
You can perhaps combine it with dashboard filter which lets users select only single value. The URL to image shall be added in the model as label for the attribute with type Image:
Hooray!! thank you!