We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
Nov 25, 2022 12:24 PM
Hi,
I am adding modules into a template layout and looking to set some predefined field values. This is working fine until I come across fields within a field group, where I can't seem to find a way to target them.
{% module "__module_key_objectives" path="/trial-sfx-theme/modules/SFX-text-feature-image", label="SFX-text-feature-image",
feature_content.heading="Key Objectives",
%}
Using the field group to identify doesn't seem to work, any ideas?
Thanks
Solved! Go to Solution.
Nov 26, 2022 1:00 PM
so for your case it would be something like this:
feature_content = {
"heading": "Key Objectives"
}
Nov 26, 2022 1:00 PM
so for your case it would be something like this:
feature_content = {
"heading": "Key Objectives"
}
Nov 29, 2022 10:30 AM
Ah that's worked great, many thanks for your help!
Nov 26, 2022 12:58 PM
yes, you need to pass it as an object I believe. You can find the documentation for that here Using modules in templates (hubspot.com) under the field parameters section.