# Creating CRM Cards with dropdown lists ...

**URL:** <https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159>\
**Category:** APIs & Integrations\
**Created:** [October 29, 2022, 4:09am UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159 "2022-10-29T04:09:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PAtlan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patlan/32/42298_2.png) [@PAtlan](https://community.hubspot.com/u/PAtlan)\
**Post date:** [October 29, 2022, 4:09am UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/1 "2022-10-29T04:09:33Z")

</div>

I’m trying to develop a CRM Card to display with my Contacts.

The context is that each of my companies is attached to a number of “Locations” (custom objects…).

I want to select a Location for each contact, but this location should be limited to the locations that are linked to the Primary company of the contact.

I’ve built a project where I manage to retrieve the list of relevant locations for each contact (get the primary company, and fetch the list of locations attached to that company)

However, now I want my CRM Card to DISPLAY these locations and give the user a choice. BUT in the list of things to display on my CRM Card, I don’t see a dropdown list …

Any ideas how I could do this ?

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [October 29, 2022, 7:54pm UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/2 "2022-10-29T19:54:51Z")

</div>

Hi @PAtlan

You could add an [Action](https://legacydocs.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview#handling-action-hooks) to open a Modal from your CRM Card, then you have full control over the HTML in the Modal.

Have fun

Mike

---

<div class="post-metadata">

**Author:** ![PAtlan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patlan/32/42298_2.png) [@PAtlan](https://community.hubspot.com/u/PAtlan)\
**Post date:** [October 30, 2022, 4:25am UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/3 "2022-10-30T04:25:29Z")

</div>

Hi [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) ,

Thanks for pointing this out.  
I was sort of hoping I didn’t need to go down yet another rabbit hole to figure it out! But I guess needs must.

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [October 30, 2022, 8:22pm UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/4 "2022-10-30T20:22:19Z")

</div>

Hi @PAtlan

Let me know if you need a rabbit? I have spent a lot of time down that rabbit hole.

Mike

---

<div class="post-metadata">

**Author:** ![PAtlan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patlan/32/42298_2.png) [@PAtlan](https://community.hubspot.com/u/PAtlan)\
**Post date:** [November 1, 2022, 6:35am UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/5 "2022-11-01T06:35:44Z")

</div>

Hi [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) ,

Thanks for the tip. I’ve got to that part working, at least. My issue now is \*passing data\* to the modal: I have a whole json object i’d like to pass, and I can’t seem to get it working. Supposedly I could at least pass “Additional Properties” in the button, but I can’t get it to work, and I can’t find any documentation.

---

<div class="post-metadata">

**Author:** ![PAtlan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patlan/32/42298_2.png) [@PAtlan](https://community.hubspot.com/u/PAtlan)\
**Post date:** [October 31, 2022, 8:09am UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/6 "2022-10-31T08:09:53Z")

</div>

Hey [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259) , thanks for the offer. Yes, I would love a few rabbits to chase 🙂

I can’t for the life of me figure out how to pass data to my modal window. My CRM card has some logic to extract info from the CRM (specifically, a list of custom objects linked to the company that’s linked to the contact..) and i’d love to pass a json object to my modal, but i can’t find anything in the documentation about that.

If you had any pointers, it would be great!

Thanks.

Paul

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [November 1, 2022, 10:01pm UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/7 "2022-11-01T22:01:23Z")

</div>

Hi Paul,

You can [choose the properties sent](https://legacydocs.hubspot.com/docs/methods/crm-extensions/crm-extensions-overview#managing-cards-dev-account) to the modal, but you can only send properties of the object where your CRM Extension appears (e.g. a CRM Extension on the Contacts page will only send Contact Properties).

You will need to use the [Associations API](https://developers.hubspot.com/docs/api/crm/associations) to fish for an associated Custom Objects.

Cheers

Mike

---

<div class="post-metadata">

**Author:** ![sejal\_parikh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sejal_parikh/32/41764_2.png) [@sejal\_parikh](https://community.hubspot.com/u/sejal_parikh)\
**Post date:** [January 6, 2023, 6:44am UTC](https://community.hubspot.com/t/creating-crm-cards-with-dropdown-lists/68159/8 "2023-01-06T06:44:21Z")

</div>

Assuming this is the ask for the new CRM development beta, this is now possible using select input component [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/platform/create-custom-crm-cards-with-projects#select-input)
