CMS Development

Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

Hi,

 

I'm not sure if this is possible. I have a HubDB set up that has a Multi-select Field Column (category). 

 

My idea is to build a module I can add to individual pages. In this module, I have a choice field that has the same options as what's in the HubDB Multi-select column. When I make a selection, the module will only populate with the selected category.

 

Is there a way for the Choice option in Design Tool to automatically populate with the available Select Options of the Multi-select column in the HubDB?

 

Or would I need to manually populate this myself?

 

0 Upvotes
1 Akzeptierte Lösung
alyssamwilie
Lösung
Trendsetter/-in | Elite Partner
Trendsetter/-in | Elite Partner

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

@Philip_Marsh No, there is not a way to dynamically fill in a custom module field nor a default field for pulling in HubDB columns. You would need to populate the select options manually or use just a text field for the user to type in the item they want.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

Lösung in ursprünglichem Beitrag anzeigen

16 Antworten
EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

How did you get a multi select field?  I'm trying to do that.

 

0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

In the HuDB, create a new column, column type, and the 6th option in the list is Multi-select

0 Upvotes
EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

I only see single select or multiple check boxes.

0 Upvotes
EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung
I don't see that option. I only see dropdown select or multiple check boxes

0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

Are you able to post a link to a screenshot of what you're seeing?

EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung
[cid:image001.png@01D83393.62891630]
0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

That's not showing for me. Do you have a direct link to the image?

0 Upvotes
EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

No, I'm not sure how to provide that; it won't let me attach

0 Upvotes
EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

HS.JPG

0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

What page are you on? It doesn't look like HubDB or Design Manager. Are you able to screenshot the entire page?

0 Upvotes
EPloehn
Mitglied

Passing HubDB Multi-selection select options into Module Field Choice option

lösung
It won't let me show entire page as the pop up overrides.
This is when I go into Contacts --> Actions button --> Edit properties --> Create property - trying to create a new field that allows for a dropdown with multi-select capabilities.

0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

I see. I've not got much experience in that area, sorry. I have more experience in the HudDB and Design Manager area of Hubspot, but I don't think you can create custom field types for contacts. You might be best trying to create a post under the CRM and Sales Hub community. 

0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

You could upload it to your website host, and get a direct link from there?

Alt, you could try hosting it here

https://imgbb.com/

0 Upvotes
alyssamwilie
Lösung
Trendsetter/-in | Elite Partner
Trendsetter/-in | Elite Partner

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

@Philip_Marsh No, there is not a way to dynamically fill in a custom module field nor a default field for pulling in HubDB columns. You would need to populate the select options manually or use just a text field for the user to type in the item they want.

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

Thank you. I didn't think there would be an option for that but worth the ask none the less

0 Upvotes
Philip_Marsh
Mitwirkender/Mitwirkende

Passing HubDB Multi-selection select options into Module Field Choice option

lösung

Ultimately what I'm trying to do is whatever I select in the drop-down on the module is what is pulled through in the page. 

Maybe something along the lines of:

{% for row in hubdb_table_rows(module.faq_table, '&orderBy=order') %}
{% if row.category_select.id == module.choice_field %} 
			
      <div class="shadow">
        <div class="acc-btn" data="img{{loop.index}}">
          <h3 {% if loop.index == 1 %} class="selected" {% endif %}><span>{{ row.title }}</span>
            <img class="plus" src="https://cdn2.hubspot.net/hubfs/4351639/2019/assets-may-2019/plus-bold.svg" alt="plus symbol">
            <img class="minus" src="https://cdn2.hubspot.net/hubfs/4351639/2019/assets-may-2019/minus-bold.svg" alt="minus symbol">
          </h3>
        </div>
        <div class="acc-content {% if loop.index == 1 %} open {% endif %}">
          <div class="acc-content-inner">
            {{ row.content }}
          </div>
        </div>
      </div>
			{% endif %}
      {% endfor %}

 

0 Upvotes