System Information
- 4.0.0:
- Ubuntu 20.04.3:
- sqlite:
- v14.18.2:
- 6.14.15:
- 1.22.17:
At my knowledge using the following method populate=firstLevelComponent.firstComponentChild
is the only way to get the nested components in strapi v4
This does work for nested component but i am with dynamic zone and i want to populate all the nested component in the dynamic zone with images
According to the documents it should work for the dynamics too. Can you share some infos about the endpoints you trying to access?
This is a single type i created
Try to follow in your search this syntax: /api/page?populate=block.comp1.techComp.techImage
maybe you need to change some characters cause my naming could be wrong.
Thanks bro. You made my day.
i found a solution by using this plugin: strapi-plugin-populate-deep - npm
it works like a charm.
using strapi version: 4.1.5
Hope it works for you all. Greetings
You can use this amazing module @encoreskytech/strapi-plugin-nested-populator
It’s very easy to use.
It will work with strapi version 5 and the version 4 as well.
Enjoy the coding!