I want to access a widget by doing {{ content.widgets.{{parent_custom_widget_name}}_my_name }} but am not finding it possible to concatenate the {{ parent_custom_widget_name }} inside the {{ content.widgets… }} block. Is this possible?
Assuming parent_custom_widget_name is a HUBL variable, the following code should work:
{% set parent_custom_widget_name = "somModuleID_68439" %}
{{content.widgets[parent_custom_widget_name+'_my_name']}}