Skip to main content

I created a custom visualization for a dataset which is a searchable table in our corporate style. When embedding this visualization through an iframe the details-area is sticking to the bottom of the frame.

In the following example you can see the rather prominent details-area at the bottom of the element.

Is there a possibility to suppress this element? 

At the beginning I thought I could do this with the url parameter “datasetcard” (see example link below). However, I must have misinterpreted this parameter as it does not influence the details-area.

<iframe src="https://data.bl.ch/explore/embed/dataset/adressen-der-gemeindeverwaltungen-januar-2025-kopieren/webtabelle/?disjunctive.name&disjunctive.plz&disjunctive.ort&static=false&datasetcard=false" width="400" height="300" frameborder="0"></iframe>

Any help would be greatly appreciated.

Best,
Johannes

Update:
I’ve managed to hide the element by suppressing the display of the .odswidget-dataset-card class in css. But this seems rather hacky. Any better solution would be greatly appreciated.
 

.dataset-infos, .odswidget-dataset-card div.card-container{
    display: none;
}

 


Hello, 

Go to  /backoffice/configuration/embeds/, I think you've activated the option “Force embeds to have a dataset information card displayed at all times”.
You can deactivate it and no longer have to worry about this.


Hi Rémy

Ah, it is THAT easy. :-D Thank you very much for your help. Works like a charm.


Reply