CMS Development

Woodsy
Top Contributor

Display Text for HubDB row field

SOLVE

Hi, I have created a custom module that displays resources. I want to display pain points against each resource. I have set up a database with a pain point on each row in a column labeled Name.

Woodsy_0-1727109492282.png


I would like the content creator to be able to select a pain point and it display within the resource card.

The content creator would select a pain point from here:

Woodsy_1-1727109637129.png


At the minute what is displayed is this:

Woodsy_2-1727109689155.png


My question is what do I need to do so that only the name 'B2B Loyalty Programs' is displayed here?

Thanks

0 Upvotes
1 Accepted solution
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Display Text for HubDB row field

SOLVE

Hi @Woodsy,

 

Are you using a HubDB Row field in the module? 

 

If so, you could try:

 

{{ module.your_hubdbrow_field.columns.name }}

 

If that does not work, it would help to see a sample of your code to help troubleshoot. 

 


✔️ Did this post help answer your query? Help the community by marking it as a solution.

View solution in original post

1 Reply 1
evaldas
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Display Text for HubDB row field

SOLVE

Hi @Woodsy,

 

Are you using a HubDB Row field in the module? 

 

If so, you could try:

 

{{ module.your_hubdbrow_field.columns.name }}

 

If that does not work, it would help to see a sample of your code to help troubleshoot. 

 


✔️ Did this post help answer your query? Help the community by marking it as a solution.