CMS Development

subin
Top Contributor | Gold Partner
Top Contributor | Gold Partner

How to add Custom module values to Hubspot functions

Hi developers,

I am using the following code to get the post using tags!!  how can I make the Tage section and Blog ID section dynamic, I need to pull the values form custom modules but when I tried to pull the values and add it inside the functions its showing error it's showing errors

 

{% set tag_posts = blog_recent_tag_posts('xxxxxxxxxxx', 'featured', 100) %}

How can I make this section dynamic, this is the link of the error I am getting https://cl.ly/8460e20e4221 . can anyone please help

 

 

0 Upvotes
1 Reply 1
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

How to add Custom module values to Hubspot functions

Hey @subin 

 

I'm not 100% on this but might this be a usecase for the export_to_template_context parameter? As the custom module's data is scope to its own context?

 

edit: spelling

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
0 Upvotes