# Retrieve data from HubDB (Foreign ID)

**URL:** <https://community.hubspot.com/t/retrieve-data-from-hubdb-foreign-id/71854>\
**Category:** CMS Development\
**Created:** [December 27, 2022, 3:23pm UTC](https://community.hubspot.com/t/retrieve-data-from-hubdb-foreign-id/71854 "2022-12-27T15:23:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FilipaPF](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FilipaPF](https://community.hubspot.com/u/FilipaPF)\
**Post date:** [December 27, 2022, 3:23pm UTC](https://community.hubspot.com/t/retrieve-data-from-hubdb-foreign-id/71854/1 "2022-12-27T15:23:20Z")

</div>

Hello,

I’m creating a module for an Event banner and I can’t retrive neither the speaker image I need nor the speaker name.

The speaker name comes from an external table:

 ![speaker-name.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/9/398a0ab85f330a740984342659f9adc59009297a.png)  
 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/6/76d15b85bdcfd43efb8bf404c504ad7381f7c474.png)

and here is my code (the other fields are working just fine):

```lia-code-sample
{% if row.banner_event %}
<div class="container-fluid bg-event-banner">
 <div class="container">
 <div class="row justify-content-start align-items-center py-5">
 <div class="col-12 col-sm-6 border-end border-warning">
 <p class="text-light-blue text-uppercase mb-0">
 {{ type }}
 </p>
 <h2 class="text-white pb-5">
 {{ event_name }}
 </h2>
 <p class="text-white">
 {{ row.description }}
 </p>
 </div>
 <div class="col-12 col-sm-3 pb-3 px-sm-5 pb-sm-0 d-flex align-items-end flex-column">
 <img class="img-fluid w-100 rounded-circle" src="{{ presenter_image }}" loading="lazy" alt="Presenter photo" />
 </div>
 <div class="col-12 col-sm-3">
 <p class="text-light-blue text-uppercase">
 Presented by:
 </p>
 <p class="text-light-blue">
 {% for item in row.first_presenter %} 
 {{ row.first_presenter.name }} 
 {% endfor %}
 {% if row.second_presenter %}
 | 
 {% for item in row.first_presenter %} 
 {{ row.second_presenter.name}} 
 {% endfor %}
 {% endif %}
 </p>
 </div>
 </div>
 <div class="row justify-content-center pb-5">
 <div class="col-12 col-sm-7 text-center">
 <p class="text-center mb-0">
 <button class="btn-vg6" data-bs-toggle="modal" data-bs-target="#ContactUs">
 Contact us
 </button>
 </p>
 </div>
 </div>
 </div>
</div>
{% endif %}

```

Would appreciate help very much 🙂

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [January 5, 2023, 9:19am UTC](https://community.hubspot.com/t/retrieve-data-from-hubdb-foreign-id/71854/2 "2023-01-05T09:19:51Z")

</div>

Hi @FilipaPF

Thank you for reaching out.

I want to tag some of our experts here - @LMeert @coldrickjack do you have any thoughts for @FilipaPF on this?

Thank you!

Best

Tiphaine

---

<div class="post-metadata">

**Author:** ![FilipaPF](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@FilipaPF](https://community.hubspot.com/u/FilipaPF)\
**Post date:** [January 5, 2023, 9:57am UTC](https://community.hubspot.com/t/retrieve-data-from-hubdb-foreign-id/71854/3 "2023-01-05T09:57:32Z")

</div>

Thank you [@TitiCuisset](https://community.hubspot.com/t5/user/viewprofilepage/user-id/89150), I’m already getting the speakers image but the name still does not show!
