I was reading about the iframe and the use of incl...
# gooddata-cloud
d
I was reading about the iframe and the use of includeObjectsWithTags and includeOjbectsWithoutTags. What are the use cases for this? What I want to do I was thinking if I added tags to Insights I could hide certain elements from a dashboard when using the Iframe so that I didn't have to create 5 versions of the same dashboard with one or two objects changing between them. Would that work? What are some other use cases? What would it do if I added it to metrics. For a KPI card - would it be blank? For a line graph, missing one line? Curious on the capabilities of this. Seems interesting
m
Hi Doug, I am afraid include/excludeOjbectsWithoutTags will not work for your use case. The purpose of these parameters as far as I know is to curate the user experience when creating visualizations and dashboards - these parameters only limit the list of objects in the left panel available to be used either in Analytical Designer or Dashboard creator in edit mode. But it only affects the list and does not anyhow hide the objects if they are present in any existing dashboard or visualization. In other words you can use this for example to embed the analytical designer with the catalog pre-filtered to only objects from certain datasets (not as a security feature, but rather clarity / prevent overwhelming), or to hide irrelevant attributes like technical IDs, some specific metrics etc. Dynamically hiding objects on dashboard is currently not avaialble as far as I know. It might be possible to develop something like this using a custom dashboard plugin.
d
I didn't see it on the list, is that something you help build?
m
As far as I understand it, custom Dashboard Plugins can be developed and hosted independently, but I believe our developers in GoodData Professional Services do have experience with that and have developed custom plugins for customers recently. So if you wanted their help with that, I believe the best next step would be to contact your GoodData representative to discuss the conditions. Note: I am not 100% sure what exactly are the dashboard plugins capable of doing and what is out of their reach at the moment. So if you would be interested, I suppose the first part of it would be a discussion about the detailed specification.
1
Also given your previous question, let me just mention that Dashboard plugins can be rendered inside an iframe. They are not rendered inside WebComponent.