Skip to main content
Solved

Iframe embeddings without "details-area"

  • February 4, 2025
  • 3 replies
  • 63 views

Johannes Hool

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

Best answer by Rémy

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.

3 replies

Johannes Hool
  • Author
  • Guide
  • 10 replies
  • February 10, 2025

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;
}

 


Rémy
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 24 replies
  • Answer
  • March 19, 2025

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.


Johannes Hool
  • Author
  • Guide
  • 10 replies
  • March 20, 2025

Hi Rémy

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