I believe this is what it should be {{ content_by_id(module.page_field).featuredImage }}
But you should try {{ content_by_id(module.page_field)|pprint }} and see what that spits out in your preview. Should be a giant json object with everything available
I believe this is what it should be {{ content_by_id(module.page_field).featuredImage }}
But you should try {{ content_by_id(module.page_field)|pprint }} and see what that spits out in your preview. Should be a giant json object with everything available
Everything is working as expected in my portal...this is the code block I am using:
// below is to see what is output by the field alone
{{ content_by_id(module.page_field) }}
// below is getting a li with the content title and url set by the field
{% set my_content = content_by_id(module.page_field) %}
<ul>
<li>
<a href="{{ my_content.absolute_url }}">{{my_content.title}}</a>
</li>
</ul>
Could you add an example of your module html file?