I have created an email template and am calling a module that I want to be able to get values from for use in other modules. I’ve set export_to_template_context=True
{% module "module_169823584445580" path="/Manual Templates/Global Modules/SETTINGS", label="SETTINGS", export_to_template_context=True %}
The “module_169823584445580” changes when the page refreshes.
When I use on another module I am calling it like this:
{% set p = '?b='~widget_data.{% set p = '?b='~widget_data.module_169823579643778.Settings.broker_section.broker_picker.properties.url|split('/')|last %}.Settings.broker_section.broker_picker.properties.url %}
{{ p }}
1. how does this work when the module id always changes
2. When calling the module I want data from, is it case sensitive? is it the name or the label? Do I need to replace spaces with an _?
What is the right way to do this?