# HubDB Row, Show Output in Module

**URL:** <https://community.hubspot.com/t/hubdb-row-show-output-in-module/71650>\
**Category:** CMS Development\
**Tags:** hubdb\
**Created:** [December 21, 2022, 10:15am UTC](https://community.hubspot.com/t/hubdb-row-show-output-in-module/71650 "2022-12-21T10:15:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Woodsy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/woodsy/32/63860_2.png) [@Woodsy](https://community.hubspot.com/u/Woodsy)\
**Post date:** [December 21, 2022, 10:15am UTC](https://community.hubspot.com/t/hubdb-row-show-output-in-module/71650/1 "2022-12-21T10:15:44Z")

</div>

Hi All  
I’m using the HubDB Row field in my module so that a content creator can build a series of resource cards for our website based on resources in our Hubspot database. Each row in the database has a title, image and description. I would like the creator to be able to select one of the resources (row ) from the database with the HubDB Row field. This would then pull the title, image and description.  
My question is how would I code this so the content of the row is displayed. Once I can get this to pull the information through I can style it into a card and set up a repeater option.

The HubDB Row field HubL variable is called hubdb\_row\_id. The columns in the database are title, image and description.

This is what my preview currently looks like:

 ![Woodsy_0-1671617833454.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/a/2a67e3974324ba5e5e3890ce5ba5e858b056e2d9.png)

Thank you in advance for any help.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [December 22, 2022, 7:19pm UTC](https://community.hubspot.com/t/hubdb-row-show-output-in-module/71650/2 "2022-12-22T19:19:10Z")

</div>

Hi, @Woodsy 👋 Thanks for reaching out. Let’s see if the community has any thoughts — hey @carolgiacon @himanshurauthan, do you have any experience here?

Thank you for taking a look! — Jaycee

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [December 26, 2022, 1:19pm UTC](https://community.hubspot.com/t/hubdb-row-show-output-in-module/71650/3 "2022-12-26T13:19:05Z")

</div>

Hello Woodsy  
The Hubdb row field option also allows you to select the columns you want to pull to show the same in the module, as you can see in the pic below, We have a hubdb table with columns price and name, and we have selected the same.

In the module, once the row is selected, you can pull the title, image, and description using the variable field.

```auto
{% set rowDb = module.hubdb_row_id.columns %}

{{ rowDb.title }}
{{ rowDb.image }}
{{ rowDb.description }}

```

 ![image.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/4/44c71ae044190ebd645b88cc20986ee468eda888.png)
