# Custom Module for Deals

**URL:** <https://community.hubspot.com/t/custom-module-for-deals/51482>\
**Category:** CMS Development\
**Created:** [February 14, 2022, 3:01pm UTC](https://community.hubspot.com/t/custom-module-for-deals/51482 "2022-02-14T15:01:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben-duchy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ben-duchy/32/84083_2.png) [@ben-duchy](https://community.hubspot.com/u/ben-duchy)\
**Post date:** [February 14, 2022, 3:01pm UTC](https://community.hubspot.com/t/custom-module-for-deals/51482/1 "2022-02-14T15:01:21Z")

</div>

I’ve long been developing custom website modules that link to HubDB, but does anyone know how I can link modules directly to Deals / custom objects without using an API?

I’ve found an option within the design tools that lets me select some deal data, but the flexibilty seems limited. Do I code it in the usual way? Is there any tutorials on this?

---

<div class="post-metadata">

**Author:** ![PatrickEng](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patrickeng/32/78224_2.png) [@PatrickEng](https://community.hubspot.com/u/PatrickEng)\
**Post date:** [February 15, 2022, 3:20pm UTC](https://community.hubspot.com/t/custom-module-for-deals/51482/2 "2022-02-15T15:20:03Z")

</div>

Hey @ben-duchy ,

Have you had a chance to review the CRM Objects “[display associated records](https://developers.hubspot.com/docs/cms/data/crm-objects#display-associated-records)” HubL function yet? It sounds like that could be something similar to what you’re looking for!

---

<div class="post-metadata">

**Author:** ![ben-duchy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ben-duchy/32/84083_2.png) [@ben-duchy](https://community.hubspot.com/u/ben-duchy)\
**Post date:** [February 16, 2022, 10:04am UTC](https://community.hubspot.com/t/custom-module-for-deals/51482/3 "2022-02-16T10:04:31Z")

</div>

Hi @PatrickEng,

I can’t get it to work yet, but it does look like it’s pointed me in the right direction. Thanks

---

<div class="post-metadata">

**Author:** ![ben-duchy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ben-duchy/32/84083_2.png) [@ben-duchy](https://community.hubspot.com/u/ben-duchy)\
**Post date:** [May 18, 2022, 1:26pm UTC](https://community.hubspot.com/t/custom-module-for-deals/51482/4 "2022-05-18T13:26:26Z")

</div>

Hi @PatrickEng,

It’s been a while since I looked into this and I’ve made a good start using the link you provided so thanks very much. However, this guide only mentions text fields. How do I show select list entries? I assume it needs to be coded differently?

For reference when creating a custom web module linking to a HubDB table I use someting like {{ row[“site”].name }} - the **.name** specifiying that this column is a select list. How do I do this when creating a CRM custom web module?
