My page contains a component presentation that embeds two sub levels of components as depicted below:
Page -> Component Level One -> Component Level Two -> Component Level Three
When I add a Multimedia field to "Component Level Two" it gets expanded when I preview the page:
“myMultimediaField": {
"$type": "EntityModelData",
"Id": "21565",
"Namespace": "tcm",
"ComponentTemplate": {
"Id": "10581",
"Namespace": "tcm",
"RevisionDate": "0001-01-01T00:00:00"
},
"Folder": {
"Id": "3743",
"Title": “Folder for Multimedia Components"
},
"BinaryContent": {
"Url": "/Preview/en/Images/my-mm-component.jpg",
"FileName": "my-mm-component.jpg",
"FileSize": 20844,
"MimeType": "image/jpeg"
},
"SchemaId": "10418"
}
However, when I add the exact same field to "Component Level Three" it does not get expanded:
"myMultimediaField": {
"$type": "EntityModelData",
"Id": "21565",
"Namespace": "tcm"
}
I've tried:
- Updating the "DXA Resolver Recursion Depth" in "DXA Settings".
- Setting
<Parameters><expandLinkDepth>5</expandLinkDepth></Parameters>
in the component template "Render Component Content". - Setting
<Parameters><expandLinkDepth>5</expandLinkDepth></Parameters>
in the page template "Render Page Content".
Any more ideas folks?
We're on DXA 2.0 + Sites 9.1